devices.pc: default use cachyos kernel

This commit is contained in:
陈浩南 2024-10-14 11:54:57 +08:00
parent d70544a2d4
commit 421a0854d0

View File

@ -48,7 +48,7 @@ inputs:
{ march = "znver4"; cuda = { enable = true; capabilities = [ "8.9" ]; forwardCompat = false; }; }; { march = "znver4"; cuda = { enable = true; capabilities = [ "8.9" ]; forwardCompat = false; }; };
kernel = kernel =
{ {
variant = "xanmod-latest"; variant = "cachyos";
patches = [ "hibernate-progress" ]; patches = [ "hibernate-progress" ];
modules.modprobeConfig = modules.modprobeConfig =
[ "options iwlwifi power_save=0" "options iwlmvm power_scheme=1" "options iwlwifi uapsd_disable=1" ]; [ "options iwlwifi power_save=0" "options iwlmvm power_scheme=1" "options iwlwifi uapsd_disable=1" ];
@ -190,6 +190,11 @@ inputs:
}; };
system.nixos.tags = [ "nvidia" ]; system.nixos.tags = [ "nvidia" ];
}; };
xanmod.configuration =
{
nixos.system.kernel.variant = inputs.lib.mkForce "xanmod-latest";
system.nixos.tags = [ "xanmod" ];
};
}; };
}; };
} }