ctucx.git: nixfiles

ctucx' nixfiles

commit 1a46574de59cf056a81006e585c7409d3b01782b
parent 11f7da361ba90bc6b4b1cf006a2da4b62f1a550b
Author: Leah (ctucx) <leah@ctu.cx>
Date: Sun, 4 Sep 2022 20:23:04 +0200

configuration/syncthing: add share 'Bahn-Blechselse'
1 file changed, 11 insertions(+), 0 deletions(-)
diff --git a/configurations/syncthing.nix b/configurations/syncthing.nix
@@ -42,6 +42,7 @@ let
     lollo = [
       "ctucx-music-orig"
       "ctucx-media"
+      "Blechelse"
     ];
   };
 

@@ -155,6 +156,16 @@ in {
       };
     };
 
+    "${dataDir}/Bahn-Blechelse" = rec {
+      id                = "Blechelse";
+      label             = "Bahn-Blechelse";
+      devices           = (lib.mkMerge [ (filterCurrentHost (shareDeviceNames "${id}")) isaDeviceNames]);
+      versioning.type   = "trashcan";
+      versioning.params = {
+        cleanoutDays = "3";
+      };
+    };
+
     "${dataDir}/Cutieshare" = {
       id                = "cutieshare";
       label             = "Cutieshare";