add zfs services
This commit is contained in:
parent
2c55adf435
commit
b23abdca84
1 changed files with 5 additions and 1 deletions
|
@ -22,7 +22,11 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.supportedFilesystems = [ "zfs" ];
|
boot.supportedFilesystems = [ "zfs" ];
|
||||||
boot.zfs.devNodes = true;
|
boot.zfs.devNodes = "/dev/";
|
||||||
|
|
||||||
|
services.zfs.trim.enable = true;
|
||||||
|
services.zfs.autoScrub.enable = true;
|
||||||
|
services.zfs.autoScrub.pools = ["ssd" "hdd"];
|
||||||
|
|
||||||
boot.initrd.luks.devices = {
|
boot.initrd.luks.devices = {
|
||||||
ssd = {
|
ssd = {
|
||||||
|
|
Loading…
Reference in a new issue