kernel: bump to 5.15.2
also moved linux-tkg to flake inputs
This commit is contained in:
parent
a09a252024
commit
598b7e8241
4 changed files with 38 additions and 28 deletions
17
flake.lock
generated
17
flake.lock
generated
|
|
@ -213,6 +213,22 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"linux-tkg": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1636723194,
|
||||||
|
"narHash": "sha256-zsnD3NnWAEPa4ibYE22bHBvrY3JhD3lO/gkKseYT2E0=",
|
||||||
|
"owner": "Frogging-Family",
|
||||||
|
"repo": "linux-tkg",
|
||||||
|
"rev": "ba636511f4862466b11ea69264cab70b7ccb3459",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "Frogging-Family",
|
||||||
|
"repo": "linux-tkg",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"neovim-flake": {
|
"neovim-flake": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-utils": "flake-utils",
|
"flake-utils": "flake-utils",
|
||||||
|
|
@ -472,6 +488,7 @@
|
||||||
"fast-syntax-highlighting": "fast-syntax-highlighting",
|
"fast-syntax-highlighting": "fast-syntax-highlighting",
|
||||||
"fix-user-popouts": "fix-user-popouts",
|
"fix-user-popouts": "fix-user-popouts",
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
|
"linux-tkg": "linux-tkg",
|
||||||
"neovim-nightly": "neovim-nightly",
|
"neovim-nightly": "neovim-nightly",
|
||||||
"nix-gaming": "nix-gaming",
|
"nix-gaming": "nix-gaming",
|
||||||
"nixpkgs": "nixpkgs_2",
|
"nixpkgs": "nixpkgs_2",
|
||||||
|
|
|
||||||
15
flake.nix
15
flake.nix
|
|
@ -22,6 +22,7 @@
|
||||||
# overlays
|
# overlays
|
||||||
discord-tokyonight = { url = "github:DanisDGK/zelk-customizations"; flake = false; };
|
discord-tokyonight = { url = "github:DanisDGK/zelk-customizations"; flake = false; };
|
||||||
discover = { url = "github:trigg/Discover"; flake = false; };
|
discover = { url = "github:trigg/Discover"; flake = false; };
|
||||||
|
linux-tkg = { url = "github:Frogging-Family/linux-tkg"; flake = false; };
|
||||||
packwiz = { url = "github:comp500/packwiz"; flake = false; };
|
packwiz = { url = "github:comp500/packwiz"; flake = false; };
|
||||||
spotify-adblock = { url = "github:abba23/spotify-adblock"; flake = false; };
|
spotify-adblock = { url = "github:abba23/spotify-adblock"; flake = false; };
|
||||||
tree-sitter-glimmer = { url = "github:alexlafroscia/tree-sitter-glimmer"; flake = false; };
|
tree-sitter-glimmer = { url = "github:alexlafroscia/tree-sitter-glimmer"; flake = false; };
|
||||||
|
|
@ -77,13 +78,13 @@
|
||||||
let
|
let
|
||||||
callPackage = pkgs.callPackage;
|
callPackage = pkgs.callPackage;
|
||||||
in {
|
in {
|
||||||
discord-tokyonight = callPackage ./packages/discord-tokyonight {};
|
discord-tokyonight = callPackage ./packages/discord-tokyonight { inherit inputs; };
|
||||||
discover-overlay = callPackage ./packages/discover {};
|
discover-overlay = callPackage ./packages/discover { inherit inputs; };
|
||||||
linux-lava = callPackage ./packages/linux-lava {};
|
linux-lava = callPackage ./packages/linux-lava { inherit inputs; };
|
||||||
packwiz = callPackage ./packages/packwiz {};
|
packwiz = callPackage ./packages/packwiz { inherit inputs; };
|
||||||
spotify-adblock = callPackage ./packages/spotify-adblock {};
|
spotify-adblock = callPackage ./packages/spotify-adblock { inherit inputs; };
|
||||||
tree-sitter-glimmer = callPackage ./packages/tree-sitter-glimmer {};
|
tree-sitter-glimmer = callPackage ./packages/tree-sitter-glimmer { inherit inputs; };
|
||||||
tree-sitter-jsonc = callPackage ./packages/tree-sitter-jsonc {};
|
tree-sitter-jsonc = callPackage ./packages/tree-sitter-jsonc { inherit inputs; };
|
||||||
wine-osu = callPackage ./packages/wine-osu { inherit getPaths; };
|
wine-osu = callPackage ./packages/wine-osu { inherit getPaths; };
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,13 @@
|
||||||
{ buildLinux
|
{ buildLinux
|
||||||
, callPackage
|
, callPackage
|
||||||
|
, inputs
|
||||||
, kernelPatches
|
, kernelPatches
|
||||||
, lib
|
, lib
|
||||||
, ...
|
, ...
|
||||||
} @ args:
|
} @ args:
|
||||||
|
|
||||||
let
|
let
|
||||||
sources = callPackage ./sources.nix {};
|
sources = callPackage ./sources.nix { inherit inputs; };
|
||||||
in buildLinux (args // {
|
in buildLinux (args // {
|
||||||
inherit (sources) src kernelPatches;
|
inherit (sources) src kernelPatches;
|
||||||
version = "${sources.version}-tkg-Lava";
|
version = "${sources.version}-tkg-Lava";
|
||||||
|
|
@ -17,7 +18,6 @@ in buildLinux (args // {
|
||||||
structuredExtraConfig = with lib.kernel; builtins.mapAttrs (_: value: lib.mkForce value) {
|
structuredExtraConfig = with lib.kernel; builtins.mapAttrs (_: value: lib.mkForce value) {
|
||||||
LOCALVERSION = freeform "-tkg-Lava";
|
LOCALVERSION = freeform "-tkg-Lava";
|
||||||
ZENIFY = yes;
|
ZENIFY = yes;
|
||||||
FUTEX2 = yes;
|
|
||||||
MHASWELL = yes;
|
MHASWELL = yes;
|
||||||
WINESYNC = module;
|
WINESYNC = module;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,10 @@
|
||||||
{ fetchFromGitHub, lib }:
|
{ fetchFromGitHub, inputs, lib }:
|
||||||
let
|
let
|
||||||
version = "5.14.14";
|
version = "5.15.2";
|
||||||
kernelHash = "1cki6af9r30k8820j73qdyycp23mwpf2a2rjwl82p9i61mg8n1ky";
|
kernelHash = "1s0yk78kilcr3vd14k67cmllnrx0x0i00jdkl5kkn3lij5lwzcjp";
|
||||||
kernelPatchHash = "1lsjswbfn67ndcy2l1prrmn7cbabvhd8mhhg0v36x1pvml86q3wq";
|
kernelPatchHash = "0d6x90dcq9sdpw4za62bsd3yijy2s6y0v5vr36hcvqwv661ab822";
|
||||||
tkgRev = "f2fa2f00ef379d4bb8f794a58d1dc5a48966c74c";
|
caculeRev = "2ac16b14bc0281c3b6c14828688981633b82ffd8";
|
||||||
tkgHash = "1ycxip1hlshcl9nxb8si4ckl8q7w62nyndwcj8iqmxbwnsx1kvkd";
|
caculeHash = "0li0zaizxvpigngv1954hkw8dirwyvqy93gb3af33cm47ir9049p";
|
||||||
caculeRev = "d03c1167152d4af037fc008bc9fa651b900d75d5";
|
|
||||||
caculeHash = "0xcfamxs4znmq3wfracr5jf59dlpig0b5s0aabi9zqzb61ds7i5z";
|
|
||||||
|
|
||||||
tkgPatches = [
|
tkgPatches = [
|
||||||
"0001-mm-Support-soft-dirty-flag-reset-for-VA-range"
|
"0001-mm-Support-soft-dirty-flag-reset-for-VA-range"
|
||||||
|
|
@ -15,8 +13,8 @@ let
|
||||||
#"0003-cacule-${mm}"
|
#"0003-cacule-${mm}"
|
||||||
"0003-glitched-base"
|
"0003-glitched-base"
|
||||||
"0003-glitched-cfs"
|
"0003-glitched-cfs"
|
||||||
"0007-v${mm}-fsync"
|
"0007-v${mm}-futex_waitv"
|
||||||
"0007-v${mm}-futex2_interface"
|
"0007-v${mm}-fsync1_via_futex_waitv"
|
||||||
"0007-v${mm}-winesync"
|
"0007-v${mm}-winesync"
|
||||||
"0012-misc-additions"
|
"0012-misc-additions"
|
||||||
];
|
];
|
||||||
|
|
@ -26,12 +24,6 @@ let
|
||||||
name = "patch-${path}";
|
name = "patch-${path}";
|
||||||
patch = path;
|
patch = path;
|
||||||
};
|
};
|
||||||
tkgSrc = fetchFromGitHub {
|
|
||||||
owner = "Frogging-Family";
|
|
||||||
repo = "linux-tkg";
|
|
||||||
rev = tkgRev;
|
|
||||||
sha256 = tkgHash;
|
|
||||||
};
|
|
||||||
kernelPatchSrc = {
|
kernelPatchSrc = {
|
||||||
name = "patch";
|
name = "patch";
|
||||||
patch = builtins.fetchurl {
|
patch = builtins.fetchurl {
|
||||||
|
|
@ -42,8 +34,8 @@ let
|
||||||
caculeSrc = {
|
caculeSrc = {
|
||||||
name = "cacule";
|
name = "cacule";
|
||||||
patch = builtins.fetchurl {
|
patch = builtins.fetchurl {
|
||||||
url = "https://raw.githubusercontent.com/hamadmarri/cacule-cpu-scheduler/${caculeRev}/patches/CacULE/v${mm}/cacule-${mm}.patch";
|
url = "https://raw.githubusercontent.com/CachyOS/cacule-cpu-scheduler/${caculeRev}/patches/CacULE/v${mm}/cacule-${mm}-full.patch";
|
||||||
sha256 = caculeHash;
|
sha256 = caculeHash;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -63,6 +55,6 @@ in {
|
||||||
]
|
]
|
||||||
++ builtins.map (name: {
|
++ builtins.map (name: {
|
||||||
inherit name;
|
inherit name;
|
||||||
patch = "${tkgSrc}/linux-tkg-patches/${mm}/${name}.patch";
|
patch = "${inputs.linux-tkg}/linux-tkg-patches/${mm}/${name}.patch";
|
||||||
}) tkgPatches;
|
}) tkgPatches;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue