summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorChristoph Cullmann <christoph@cullmann.io>2024-08-24 18:58:13 +0200
committerChristoph Cullmann <christoph@cullmann.io>2024-08-24 18:58:13 +0200
commite9c91e87677e50073ff0d60c388029766876ae52 (patch)
tree0372e1962c9c47d83f36e25a9e3cca44d3afb2fe /share
parent76bdafcb5c66f65a8d7bd11a99cb6fad6c75e4cd (diff)
scrub the disks weekly
Diffstat (limited to 'share')
-rw-r--r--share/common.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/share/common.nix b/share/common.nix
index 427e036..b7da76f 100644
--- a/share/common.nix
+++ b/share/common.nix
@@ -232,6 +232,12 @@ in
interval = "weekly";
};
+ # scrub the disks weekly
+ services.btrfs.autoScrub = {
+ enable = true;
+ interval = "weekly";
+ };
+
# avoid suspend ever to be triggered
systemd.targets.sleep.enable = false;
systemd.targets.suspend.enable = false;