add zfs services

This commit is contained in:
Charlotte 🦝 Delenk 2022-04-02 08:51:07 +01:00
parent 2c55adf435
commit b23abdca84
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

@ -22,7 +22,11 @@
];
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 = {
ssd = {