dotfiles/system/nixos/zfs.nix

20 lines
254 B
Nix
Raw Normal View History

{
services.zfs = {
trim.enable = true;
autoSnapshot = {
enable = true;
flags = "-k -p --utc";
monthly = 3;
};
2023-06-23 18:08:22 +00:00
autoScrub = {
enable = true;
interval = "monthly";
pools = [ "zroot" ];
};
};
}