diff --git a/global/kernel/default.nix b/global/kernel/default.nix index 9617608b..0fc6c935 100644 --- a/global/kernel/default.nix +++ b/global/kernel/default.nix @@ -23,6 +23,6 @@ in { "kernel.dmesg_restrict" = mkIf cfg.sysctl.harden 1; "vm.swappiness" = cfg.sysctl.swappiness; }; - boot.kernelPackages = with pkgs; mkDefault (if cfg.lts then linuxPackages else linuxPackages_latest); + boot.kernelPackages = with pkgs; mkOverride 1001 (if cfg.lts then linuxPackages else linuxPackages_latest); }; }