surface: linux 6.1.53 -> 6.1.55
This commit is contained in:
parent
6d05cccc80
commit
ca0cd502fb
|
@ -5,8 +5,8 @@ let
|
||||||
|
|
||||||
in {
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
./linux-6.1.53
|
|
||||||
./linux-6.4.16
|
./linux-6.4.16
|
||||||
|
./linux-6.1.55
|
||||||
];
|
];
|
||||||
|
|
||||||
options.microsoft-surface.kernelVersion = mkOption {
|
options.microsoft-surface.kernelVersion = mkOption {
|
||||||
|
|
|
@ -8,7 +8,7 @@ let
|
||||||
|
|
||||||
cfg = config.microsoft-surface;
|
cfg = config.microsoft-surface;
|
||||||
|
|
||||||
version = "6.1.53";
|
version = "6.1.55";
|
||||||
extraMeta.branch = "6.1";
|
extraMeta.branch = "6.1";
|
||||||
patchDir = repos.linux-surface + "/patches/${extraMeta.branch}";
|
patchDir = repos.linux-surface + "/patches/${extraMeta.branch}";
|
||||||
kernelPatches = pkgs.callPackage ./patches.nix {
|
kernelPatches = pkgs.callPackage ./patches.nix {
|
||||||
|
@ -20,17 +20,17 @@ let
|
||||||
inherit version extraMeta kernelPatches;
|
inherit version extraMeta kernelPatches;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://kernel/linux/kernel/v6.x/linux-${version}.tar.xz";
|
url = "mirror://kernel/linux/kernel/v6.x/linux-${version}.tar.xz";
|
||||||
sha256 = "0zpdg3fcc12iyjhfs5w7cw75700z4i8m9jcg38mlzlhh92hf0msz";
|
sha256 = "1h0mzx52q9pvdv7rhnvb8g68i7bnlc9rf8gy9qn4alsxq4g28zm8";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
in {
|
in {
|
||||||
options.microsoft-surface.kernelVersion = mkOption {
|
options.microsoft-surface.kernelVersion = mkOption {
|
||||||
type = types.enum [ "6.1.53" ];
|
type = types.enum [ "6.1.55" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf (cfg.kernelVersion == "6.1.53") {
|
config = mkIf (cfg.kernelVersion == "6.1.55") {
|
||||||
boot = {
|
boot = {
|
||||||
inherit kernelPackages;
|
inherit kernelPackages;
|
||||||
};
|
};
|
Loading…
Reference in a new issue