Update to kernel 6.1.6

This commit is contained in:
mexisme 2023-01-19 13:26:43 +13:00
parent ab4c0eedb6
commit 863953246f

View file

@ -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;
}; };