Nyx: zfs kernel args

This commit is contained in:
blahai 2024-12-16 18:15:07 +02:00
parent 67396f09a8
commit bdd46dedcf
Signed by: blahai
SSH key fingerprint: SHA256:ZfCryi+V64yG+vC1ZIIsqgvBCmA31tTi7RJ6M8CvpRc

View file

@ -18,18 +18,20 @@
}; };
efi.canTouchEfiVariables = true; efi.canTouchEfiVariables = true;
}; };
supportedFilesystems = [ "zfs" ]; supportedFilesystems = [ "zfs" "ext4" "btrfs" ];
zfs = { zfs = {
forceImportRoot = false; forceImportRoot = false;
extraPools = [ "zpool" "zootfs" ]; extraPools = [ "zpool" "zootfs" ];
devNodes = "/dev/disk/by-id"; devNodes = "/dev/disk/by-id";
package = pkgs-smol.zfs; package = pkgs.zfs;
allowHibernation = true; # might cause corruption? allowHibernation = true; # might cause corruption?
}; };
kernelPackages = pkgs-smol.linuxPackages_6_12; kernelPackages = pkgs.linuxPackages_6_12;
kernel = { sysctl = { "vm.max_map_count" = 2147483642; }; }; kernel = { sysctl = { "vm.max_map_count" = 2147483642; }; };
kernelParams = [ kernelParams = [
"elevator=none" # for zfs "elevator=none" # for zfs
"zfs.zfs_arc_max=8589934592"
"nvme.noacpi=1"
]; ];
}; };