inputs: { ... }: { boot.supportedFilesystems = [ "zfs" ]; services.zfs = { autoScrub.enable = true; # To be enabled on a dataset by dataset basis with: # # zfs set com.sun:auto-snapshot=true / # autoSnapshot.enable = true; }; }