diff options
author | Christoph Cullmann <christoph@cullmann.io> | 2024-08-24 18:58:13 +0200 |
---|---|---|
committer | Christoph Cullmann <christoph@cullmann.io> | 2024-08-24 18:58:13 +0200 |
commit | e9c91e87677e50073ff0d60c388029766876ae52 (patch) | |
tree | 0372e1962c9c47d83f36e25a9e3cca44d3afb2fe /share/common.nix | |
parent | 76bdafcb5c66f65a8d7bd11a99cb6fad6c75e4cd (diff) |
scrub the disks weekly
Diffstat (limited to 'share/common.nix')
-rw-r--r-- | share/common.nix | 6 |
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; |