fix(nixos): Don't change kernel on servers

This commit is contained in:
punkfairie 2025-02-17 20:23:36 -08:00
parent 1a507c75a0
commit e9cd013911
Signed by: punkfairie
GPG key ID: B3C5488E9A1A7CA6

View file

@ -1,3 +1,8 @@
{pkgs, ...}: { {
boot.kernelPackages = pkgs.linuxPackages_xanmod; pkgs,
lib,
config,
...
}: {
boot.kernelPackages = lib.mkIf (!config.marleyos.isServer) pkgs.linuxPackages_xanmod;
} }