diff --git a/nodes/hosts/common/services/btrfs.nix b/nodes/hosts/common/services/btrfs.nix new file mode 100644 index 0000000..68660fd --- /dev/null +++ b/nodes/hosts/common/services/btrfs.nix @@ -0,0 +1,7 @@ +{ pkgs, ...}: { + services.btrfs.autoScrub = { + enable = true; + interval = "weekly"; + fileSystems = [ "/" ]; + }; +}