fix(kernel): lower priority of default kernel
This makes kernel overridable by mkDefault.
This commit is contained in:
parent
97e28f1162
commit
b89aef8c46
|
@ -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);
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue