From 95d567c8a12be436405ee88a85850cae2234466b Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Sun, 2 Jun 2024 05:25:38 -0400 Subject: [PATCH] syncthing: decrease max versions --- nixosModules/services/syncthing/default.nix | 4 ++-- nixosModules/services/syncthing/syncMusic.nix | 4 ---- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/nixosModules/services/syncthing/default.nix b/nixosModules/services/syncthing/default.nix index 35012e40..6ad772f2 100644 --- a/nixosModules/services/syncthing/default.nix +++ b/nixosModules/services/syncthing/default.nix @@ -61,7 +61,7 @@ type = "staggered"; params = { cleanInterval = "3600"; - maxAge = "365"; + maxAge = "1"; }; }; }; @@ -70,7 +70,7 @@ path = "/home/${config.alyraffauf.services.syncthing.user}/pics/camera"; devices = ["brawly" "fallarbor" "lavaridge" "mauville" "petalburg" "rustboro" "wattson" "winona"]; versioning = { - params.cleanoutDays = "15"; + params.cleanoutDays = "5"; type = "trashcan"; }; }; diff --git a/nixosModules/services/syncthing/syncMusic.nix b/nixosModules/services/syncthing/syncMusic.nix index 80bd13a8..e4790329 100644 --- a/nixosModules/services/syncthing/syncMusic.nix +++ b/nixosModules/services/syncthing/syncMusic.nix @@ -12,10 +12,6 @@ id = "6nzmu-z9der"; path = config.alyraffauf.services.syncthing.musicPath; devices = ["lavaridge" "mauville" "petalburg" "rustboro" "wattson"]; - versioning = { - params.cleanoutDays = "1"; - type = "trashcan"; - }; }; }; };