We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 663bf82 commit f1fa11eCopy full SHA for f1fa11e
modules/btrfs.nix
@@ -0,0 +1,14 @@
1
+{
2
+ config,
3
+ lib,
4
+ ...
5
+}:
6
+lib.mkIf (config.filesystems.defaultLayout) {
7
+ services.btrfs.autoScrub = {
8
+ enable = true;
9
+ interval = "03:20";
10
+ fileSystems = [
11
+ "/nix"
12
+ ];
13
+ };
14
+}
modules/default.nix
@@ -3,6 +3,7 @@
./acme.nix
./backend
./boot.nix
+ ./btrfs.nix
./containers.nix
./deploy.nix
./docker-images.nix
0 commit comments