jorah: auto scrub btrfs filesystems
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing

This commit is contained in:
Jake Hillion 2023-10-24 22:03:15 +01:00
parent 41b722860d
commit 1945294218

View File

@ -24,6 +24,14 @@
services.version_tracker.enable = true; services.version_tracker.enable = true;
}; };
## Filesystems
services.btrfs.autoScrub = {
enable = true;
interval = "Tue, 02:00";
# By default both /data and /nix would be scrubbed. They are the same filesystem so this is wasteful.
fileSystems = [ "/data" ];
};
## Networking ## Networking
systemd.network = { systemd.network = {
enable = true; enable = true;