Merge branch 'main' of ssh://code.8bitbuddhism.com/aires/nix-configuration
This commit is contained in:
commit
e8da0941fb
|
@ -51,7 +51,7 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# Automatically scrub the RAID array weekly
|
# Automatically scrub the RAID array monthly
|
||||||
systemd.services."raid-scrub" = {
|
systemd.services."raid-scrub" = {
|
||||||
description = "Periodically scrub RAID volumes for errors.";
|
description = "Periodically scrub RAID volumes for errors.";
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
|
@ -64,7 +64,7 @@ in
|
||||||
description = "Periodically scrub RAID volumes for errors.";
|
description = "Periodically scrub RAID volumes for errors.";
|
||||||
wantedBy = [ "timers.target" ];
|
wantedBy = [ "timers.target" ];
|
||||||
timerConfig = {
|
timerConfig = {
|
||||||
OnCalendar = "weekly";
|
OnCalendar = "monthly";
|
||||||
Persistent = true;
|
Persistent = true;
|
||||||
Unit = "raid-scrub.service";
|
Unit = "raid-scrub.service";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue