Update to kernel 6.1.6
This commit is contained in:
parent
ab4c0eedb6
commit
863953246f
|
@ -8,7 +8,7 @@ let
|
|||
|
||||
cfg = config.microsoft-surface;
|
||||
|
||||
version = "6.1.3";
|
||||
version = "6.1.6";
|
||||
extraMeta.branch = "6.1";
|
||||
patchDir = repos.linux-surface + "/patches/${extraMeta.branch}";
|
||||
kernelPatches = pkgs.callPackage ./patches.nix {
|
||||
|
@ -20,17 +20,17 @@ let
|
|||
inherit version extraMeta kernelPatches;
|
||||
src = fetchurl {
|
||||
url = "mirror://kernel/linux/kernel/v6.x/linux-${version}.tar.xz";
|
||||
sha256 = "sha256-bcia56dRPkM8WXxzRu1/9L/RFepDo7XiemvbOMVYAxc=";
|
||||
sha256 = "sha256-Pk2OVh2lcDogWujXsr7WxcZPxCme68v9IEgeY7V9XuM=";
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
in {
|
||||
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 = {
|
||||
inherit kernelPackages;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue