infra/roles/zfs.nix

9 lines
199 B
Nix
Raw Normal View History

2021-02-25 09:05:50 +01:00
{...}: {
services.zfs = {
autoSnapshot.enable = true;
# defaults to 12, which is a bit much given how much data is written
autoSnapshot.monthly = 1;
autoScrub.enable = true;
};
}