feat(server): use xanmod_stable and zfs_unstable

This commit is contained in:
2025-11-24 18:04:11 +08:00
parent 602f599823
commit aee0fb44d5

View File

@@ -18,7 +18,7 @@ in
]; ];
boot.initrd.kernelModules = [ "amdgpu" ]; boot.initrd.kernelModules = [ "amdgpu" ];
boot.kernelModules = [ "kvm-amd" ]; boot.kernelModules = [ "kvm-amd" ];
boot.kernelPackages = lib.mkForce pkgs.linuxPackages_xanmod_latest; boot.kernelPackages = lib.mkForce pkgs.linuxPackages_xanmod_stable;
services.scx = { services.scx = {
enable = true; enable = true;
scheduler = "scx_rusty"; scheduler = "scx_rusty";
@@ -27,6 +27,7 @@ in
boot.tmp.useTmpfs = true; boot.tmp.useTmpfs = true;
boot.supportedFilesystems = [ "zfs" ]; boot.supportedFilesystems = [ "zfs" ];
boot.zfs = { boot.zfs = {
package = pkgs.zfs_unstable;
extraPools = [ "data" ]; extraPools = [ "data" ];
forceImportRoot = false; forceImportRoot = false;
}; };