mirror of
https://github.com/blahai/nyx.git
synced 2025-01-18 19:10:21 +00:00
Nyx: zfs kernel args
This commit is contained in:
parent
67396f09a8
commit
bdd46dedcf
1 changed files with 5 additions and 3 deletions
|
@ -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"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue