Compare commits

...

1 Commits

Author SHA1 Message Date
678e235ef0
system: add central lts kernel option 2024-12-12 20:33:35 -05:00
3 changed files with 9 additions and 4 deletions

View File

@ -89,8 +89,7 @@
};
};
# temporary while i am away from server
boot.kernelPackages = pkgs.linuxPackages_6_6;
boot.kernelPackages = config.nixfiles.ltsKernel;
networking.wg-quick.interfaces.wg0 = {
configFile = "/etc/wireguard/wg0.conf";

View File

@ -33,8 +33,7 @@
configurationLimit = 5;
};
# temporary while i am away from server
boot.kernelPackages = pkgs.linuxPackages_6_6;
boot.kernelPackages = config.nixfiles.ltsKernel;
nixfiles = {
profile.server.enable = true;

View File

@ -64,5 +64,12 @@ in
type = flakeType;
example = "home-manager";
};
ltsKernel = lib.mkOption {
description = "Currently tested LTS kernelPackages, manually update after testing.";
default = pkgs.linuxPackages_6_6;
type = options.boot.kernelPackages.type;
readOnly = true;
};
};
}