mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-23 11:29:42 +01:00
Update to kernel 6.1.6
This commit is contained in:
parent
ab4c0eedb6
commit
863953246f
1 changed files with 4 additions and 4 deletions
|
@ -8,7 +8,7 @@ let
|
||||||
|
|
||||||
cfg = config.microsoft-surface;
|
cfg = config.microsoft-surface;
|
||||||
|
|
||||||
version = "6.1.3";
|
version = "6.1.6";
|
||||||
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 = "sha256-bcia56dRPkM8WXxzRu1/9L/RFepDo7XiemvbOMVYAxc=";
|
sha256 = "sha256-Pk2OVh2lcDogWujXsr7WxcZPxCme68v9IEgeY7V9XuM=";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
in {
|
in {
|
||||||
options.microsoft-surface.kernelVersion = mkOption {
|
options.microsoft-surface.kernelVersion = mkOption {
|
||||||
type = types.enum [ "6.1.3" ];
|
type = types.enum [ "6.1.6" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf (cfg.kernelVersion == "6.1.3") {
|
config = mkIf (cfg.kernelVersion == "6.1.6") {
|
||||||
boot = {
|
boot = {
|
||||||
inherit kernelPackages;
|
inherit kernelPackages;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue