nixos-config/config/zfs.nix

8 lines
248 B
Nix

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