about summary refs log tree commit diff
path: root/modules/system
diff options
context:
space:
mode:
Diffstat (limited to 'modules/system')
-rw-r--r--modules/system/btrfs/default.nix5
-rw-r--r--modules/system/default.nix2
2 files changed, 6 insertions, 1 deletions
diff --git a/modules/system/btrfs/default.nix b/modules/system/btrfs/default.nix
new file mode 100644
index 0000000..d569c78
--- /dev/null
+++ b/modules/system/btrfs/default.nix
@@ -0,0 +1,5 @@
+{ ... }:
+
+{
+  services.btrfs.autoScrub.enable = true;
+}
diff --git a/modules/system/default.nix b/modules/system/default.nix
index d3eea02..620ad2e 100644
--- a/modules/system/default.nix
+++ b/modules/system/default.nix
@@ -1 +1 @@
-{ ... }: { imports = [ ./console ./locale ./nix ./users ./security ]; }
+{ ... }: { imports = [ ./console ./locale ./nix ./users ./security ./btrfs ]; }