nixos-config/config/zfs.nix

8 lines
250 B
Nix

_: {
boot.supportedFilesystems = ["zfs"];
boot.zfs.devNodes = "/dev/";
services.zfs.trim.enable = true;
services.zfs.autoScrub.enable = true;
services.zfs.autoScrub.pools = ["tank" "ssd" "hdd"];
services.zfs.autoSnapshot.enable = true;
}