1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-12-18 07:39:45 +01:00

surface: linux 6.1.53 -> 6.1.55

This commit is contained in:
Stig Palmquist 2023-10-05 15:53:10 +02:00 committed by mergify[bot]
parent 6d05cccc80
commit ca0cd502fb
3 changed files with 5 additions and 5 deletions

View file

@ -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 {

View file

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