ctucx.git: nixfiles

ctucx' nixfiles

commit eb82d71f9ff5f9fa764ac0ac1119bf11116d931e
parent 07d065db78603078373daee0a0474e81da3c53df
Author: Leah (ctucx) <leah@ctu.cx>
Date: Sun, 13 Feb 2022 13:59:52 +0100

services/syncthing: set cleanoutDays to '3' for all shares
1 file changed, 11 insertions(+), 11 deletions(-)
M
configurations/services/syncthing.nix
|
22
+++++++++++-----------
diff --git a/configurations/services/syncthing.nix b/configurations/services/syncthing.nix
@@ -106,7 +106,7 @@ in {
           devices           = filterCurrentHost (shareDeviceNames "${id}");
           versioning.type   = "trashcan";
           versioning.params = {
-            cleanoutDays = "10";
+            cleanoutDays = "3";
           };
         };
 

@@ -116,7 +116,7 @@ in {
           devices           = deviceNames;
           versioning.type   = "trashcan";
           versioning.params = {
-            cleanoutDays = "10";
+            cleanoutDays = "3";
           };
         };
 

@@ -126,7 +126,7 @@ in {
           devices           = deviceNames;
           versioning.type   = "trashcan";
           versioning.params = {
-            cleanoutDays = "30";
+            cleanoutDays = "3";
           };
         };
 

@@ -136,7 +136,7 @@ in {
           devices           = deviceNames;
           versioning.type   = "trashcan";
           versioning.params = {
-            cleanoutDays = "10";
+            cleanoutDays = "3";
           };
         };
 

@@ -147,7 +147,7 @@ in {
           devices           = filterCurrentHost (shareDeviceNames "${id}");
           versioning.type   = "trashcan";
           versioning.params = {
-            cleanoutDays = "10";
+            cleanoutDays = "3";
           };
         };
 

@@ -157,7 +157,7 @@ in {
           devices           = deviceNames;
           versioning.type   = "trashcan";
           versioning.params = {
-            cleanoutDays = "30";
+            cleanoutDays = "3";
           };
         };
 

@@ -167,7 +167,7 @@ in {
           devices           = deviceNames;
           versioning.type   = "trashcan";
           versioning.params = {
-            cleanoutDays = "5";
+            cleanoutDays = "3";
           };
         };
 

@@ -178,7 +178,7 @@ in {
           devices           = filterCurrentHost (shareDeviceNames "${id}");
           versioning.type   = "trashcan";
           versioning.params = {
-            cleanoutDays = "15";
+            cleanoutDays = "3";
           };
         };
 

@@ -189,7 +189,7 @@ in {
           devices           = filterCurrentHost (shareDeviceNames "${id}");
           versioning.type   = "trashcan";
           versioning.params = {
-            cleanoutDays = "10";
+            cleanoutDays = "3";
           };
         };
 

@@ -202,7 +202,7 @@ in {
           devices           = (lib.mkMerge [ deviceNames isaDeviceNames]);
           versioning.type   = "trashcan";
           versioning.params = {
-            cleanoutDays = "5";
+            cleanoutDays = "3";
           };
         };
 

@@ -212,7 +212,7 @@ in {
           devices           = (lib.mkMerge [ deviceNames isaDeviceNames]);
           versioning.type   = "trashcan";
           versioning.params = {
-            cleanoutDays = "5";
+            cleanoutDays = "3";
           };
         };