about summary refs log tree commit diff
path: root/users/sterni/machines
diff options
context:
space:
mode:
authorsterni <sternenseemann@systemli.org>2023-11-26T11·54+0100
committerclbot <clbot@tvl.fyi>2023-11-26T22·16+0000
commit03d5ffd2ded360341a024dd796a8b27680cfb037 (patch)
tree84348eae3dda4a95eb00ce64e500be80b0962014 /users/sterni/machines
parent825b6ac65f69737bbcba99058433e0af3fcc33b7 (diff)
feat(sterni/ingeborg): enable btrfs auto scrub r/7070
While we are at it, rename disk-checkup.nix to btrfs-auto-scrub.nix and
move it into //ops/modules. I originally wanted to have additionally
disk health related services in that module, but the btrfs scrub
functionality is nicely self-contained and reusable, so I think it makes
sense to have this in a more central location.

Change-Id: Iabdd62838eef009540ca71abafd921afda2a9b47
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10128
Reviewed-by: sterni <sternenseemann@systemli.org>
Autosubmit: sterni <sternenseemann@systemli.org>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/sterni/machines')
-rw-r--r--users/sterni/machines/edwin/default.nix2
-rw-r--r--users/sterni/machines/ingeborg/default.nix2
2 files changed, 3 insertions, 1 deletions
diff --git a/users/sterni/machines/edwin/default.nix b/users/sterni/machines/edwin/default.nix
index 0204cc463ea1..16951d04f951 100644
--- a/users/sterni/machines/edwin/default.nix
+++ b/users/sterni/machines/edwin/default.nix
@@ -10,7 +10,7 @@
     ./hardware.nix
     ./network.nix
     # These modules configure services, websites etc.
-    ../../modules/disk-checkup.nix
+    (depot.path.origSrc + "/ops/modules/btrfs-auto-scrub.nix")
     ./minecraft.nix
     ./gopher.nix
     ./http/sterni.lv.nix
diff --git a/users/sterni/machines/ingeborg/default.nix b/users/sterni/machines/ingeborg/default.nix
index 3012e5f4af9e..8c512eac3bcc 100644
--- a/users/sterni/machines/ingeborg/default.nix
+++ b/users/sterni/machines/ingeborg/default.nix
@@ -7,6 +7,8 @@
     # These modules touch things related to booting (filesystems, initrd network…)
     ./hardware.nix
     ./network.nix
+    # (More or less) pluggable service configuration
+    (depot.path.origSrc + "/ops/modules/btrfs-auto-scrub.nix")
   ];
 
   config = {