fix(nixos): Don't change kernel on servers
This commit is contained in:
parent
1a507c75a0
commit
e9cd013911
1 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
{pkgs, ...}: {
|
||||
boot.kernelPackages = pkgs.linuxPackages_xanmod;
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
boot.kernelPackages = lib.mkIf (!config.marleyos.isServer) pkgs.linuxPackages_xanmod;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue