1
1
Fork 0

backyard: enable zfs autoscrub

This commit is contained in:
Tim Van Baak 2024-04-23 20:43:59 +00:00
parent 475c0b3543
commit 94271348b5
1 changed files with 8 additions and 0 deletions

View File

@ -33,6 +33,14 @@
smartmontools # provides smartctl drive inspector
];
services.zfs = {
autoScrub = {
enable = true;
pools = [ "pool" ];
interval = "monthly";
};
};
# This value governs how some stateful data, like databases, are handled
# across different versions of NixOS. This should not be changed to a new
# release unless the sysadmin has determined that no services would be