modules.system.kernel: use xanmod-lts as default

This commit is contained in:
陈浩南 2024-09-30 20:59:46 +08:00
parent 1a1f36caed
commit 738bcb7277
5 changed files with 2 additions and 5 deletions

View File

@ -17,7 +17,6 @@ inputs:
swap = [ "/nix/swap/swap" ];
rollingRootfs = {};
};
kernel.variant = "xanmod-lts";
gui.enable = true;
};
hardware.cpus = [ "intel" ];

View File

@ -25,7 +25,7 @@ inputs:
};
nixpkgs.march = "skylake";
nix = { substituters = [ "https://nix-store.chn.moe?priority=100" ]; githubToken.enable = true; };
kernel = { variant = "xanmod-lts"; patches = [ "surface" "hibernate-progress" ]; };
kernel.patches = [ "surface" "hibernate-progress" ];
gui.enable = true;
};
hardware = { cpus = [ "intel" ]; gpu.type = "intel"; };

View File

@ -30,7 +30,6 @@ inputs:
nix.substituters = [ "https://nix-store.chn.moe?priority=100" ];
initrd.sshd.enable = true;
networking.networkd = {};
kernel.variant = "xanmod-latest";
nix-ld = null;
binfmt = null;
};

View File

@ -30,7 +30,6 @@ inputs:
nix.substituters = [ "https://nix-store.chn.moe?priority=100" ];
initrd.sshd.enable = true;
networking.networkd = {};
kernel.variant = "xanmod-lts";
};
services =
{

View File

@ -5,7 +5,7 @@ inputs:
variant = mkOption
{
type = types.enum [ "nixos" "xanmod-lts" "xanmod-latest" "cachyos" "cachyos-lto" "cachyos-server" "zen" ];
default = "xanmod-latest";
default = "xanmod-lts";
};
patches = mkOption { type = types.listOf types.nonEmptyStr; default = []; };
modules =