From 421a0854d07cf83567c1be28134ca9cf809f08b3 Mon Sep 17 00:00:00 2001 From: chn Date: Mon, 14 Oct 2024 11:54:57 +0800 Subject: [PATCH] devices.pc: default use cachyos kernel --- devices/pc/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/devices/pc/default.nix b/devices/pc/default.nix index 153e9bd8..177e5b34 100644 --- a/devices/pc/default.nix +++ b/devices/pc/default.nix @@ -48,7 +48,7 @@ inputs: { march = "znver4"; cuda = { enable = true; capabilities = [ "8.9" ]; forwardCompat = false; }; }; kernel = { - variant = "xanmod-latest"; + variant = "cachyos"; patches = [ "hibernate-progress" ]; modules.modprobeConfig = [ "options iwlwifi power_save=0" "options iwlmvm power_scheme=1" "options iwlwifi uapsd_disable=1" ]; @@ -190,6 +190,11 @@ inputs: }; system.nixos.tags = [ "nvidia" ]; }; + xanmod.configuration = + { + nixos.system.kernel.variant = inputs.lib.mkForce "xanmod-latest"; + system.nixos.tags = [ "xanmod" ]; + }; }; }; }