Revert "system.kernel: default to xanmod-latest"

This reverts commit 9941446351.
This commit is contained in:
陈浩南 2024-05-20 15:59:12 +08:00
parent 4c9b3cf6cb
commit c82cc289b0
5 changed files with 6 additions and 5 deletions

View File

@ -151,7 +151,11 @@ inputs:
};
system.nixos.tags = [ "nvidia" ];
};
cachyos.configuration = { nixos.system.kernel.variant = "cachyos"; system.nixos.tags = [ "cachyos" ]; };
xanmod.configuration =
{
nixos.system.kernel.variant = "xanmod-latest";
system.nixos.tags = [ "xanmod" ];
};
};
};
}

View File

@ -24,7 +24,6 @@ inputs:
nix.substituters = [ "https://cache.nixos.org/" "https://nix-store.chn.moe" ];
initrd.sshd.enable = true;
networking = { hostname = "vps4"; networkd = {}; };
kernel.variant = "cachyos-server";
};
services =
{

View File

@ -30,7 +30,6 @@ inputs:
nix.substituters = [ "https://cache.nixos.org/" "https://nix-store.chn.moe" ];
initrd.sshd.enable = true;
networking = { hostname = "vps6"; networkd = {}; };
kernel.variant = "cachyos-server";
};
services =
{

View File

@ -30,7 +30,6 @@ inputs:
nix.substituters = [ "https://cache.nixos.org/" "https://nix-store.chn.moe" ];
initrd.sshd.enable = true;
networking = { hostname = "vps7"; networkd = {}; };
kernel.variant = "cachyos-server";
};
services =
{

View File

@ -5,7 +5,7 @@ inputs:
variant = mkOption
{
type = types.enum [ "nixos" "xanmod-lts" "xanmod-latest" "cachyos" "cachyos-lto" "cachyos-server" ];
default = "xanmod-latest";
default = if inputs.config.nixos.system.gui.preferred then "cachyos" else "cachyos-server";
};
patches = mkOption { type = types.listOf types.nonEmptyStr; default = [ "cjktty" ]; };
modules =