1
0
Fork 0
dotfiles/system/nixos/zfs.nix
2023-06-23 20:08:22 +02:00

19 lines
254 B
Nix

{
services.zfs = {
trim.enable = true;
autoSnapshot = {
enable = true;
flags = "-k -p --utc";
monthly = 3;
};
autoScrub = {
enable = true;
interval = "monthly";
pools = [ "zroot" ];
};
};
}