backyard: enable zfs autoscrub
This commit is contained in:
parent
475c0b3543
commit
94271348b5
|
@ -33,6 +33,14 @@
|
||||||
smartmontools # provides smartctl drive inspector
|
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
|
# This value governs how some stateful data, like databases, are handled
|
||||||
# across different versions of NixOS. This should not be changed to a new
|
# across different versions of NixOS. This should not be changed to a new
|
||||||
# release unless the sysadmin has determined that no services would be
|
# release unless the sysadmin has determined that no services would be
|
||||||
|
|
Loading…
Reference in New Issue