Nyx: more zfs stuff

This commit is contained in:
blahai 2024-12-15 19:26:54 +02:00
parent 91b2ccabb9
commit 67396f09a8
No known key found for this signature in database
2 changed files with 23 additions and 10 deletions

View file

@ -21,13 +21,16 @@
supportedFilesystems = [ "zfs" ];
zfs = {
forceImportRoot = false;
extraPools = [ "zpool" ];
extraPools = [ "zpool" "zootfs" ];
devNodes = "/dev/disk/by-id";
package = pkgs-smol.zfs;
allowHibernation = true; # might cause corruption?
};
kernelPackages = pkgs-smol.linuxPackages_6_12;
kernel = { sysctl = { "vm.max_map_count" = 2147483642; }; };
kernelParams = [
"elevator=none" # for zfs
];
};
zramSwap = {