From 7756d61777f95d4974acb737d78bdd225bc5e58e Mon Sep 17 00:00:00 2001 From: Ingolf Wagner Date: Mon, 10 Apr 2023 17:38:08 +0200 Subject: [PATCH] fixing syncthing problems --- nixos/machines/pepe/syncthing.nix | 20 ++++++++++---------- nixos/machines/robi/syncthing.nix | 14 +++++++------- nixos/system/all/syncthing.nix | 10 +++++----- 3 files changed, 22 insertions(+), 22 deletions(-) diff --git a/nixos/machines/pepe/syncthing.nix b/nixos/machines/pepe/syncthing.nix index 73529c0..5ee2a74 100644 --- a/nixos/machines/pepe/syncthing.nix +++ b/nixos/machines/pepe/syncthing.nix @@ -71,16 +71,16 @@ path = "/media/syncthing/lost-fotos.ct"; rescanInterval = 5 * 31 * 24 * 3600; }; - media = { - enable = true; - path = "/media/syncthing/media"; - rescanInterval = 30 * 24 * 3600; - type = "receiveonly"; - versioning = { - type = "simple"; - params.keep = "3"; - }; - }; + #media = { + # enable = true; + # path = "/media/syncthing/media"; + # rescanInterval = 30 * 24 * 3600; + # type = "receiveonly"; + # versioning = { + # type = "simple"; + # params.keep = "3"; + # }; + #}; music-projects = { enable = true; path = "/media/syncthing/music-projects"; diff --git a/nixos/machines/robi/syncthing.nix b/nixos/machines/robi/syncthing.nix index a19d819..30ffab8 100644 --- a/nixos/machines/robi/syncthing.nix +++ b/nixos/machines/robi/syncthing.nix @@ -40,13 +40,13 @@ path = "/media/syncthing/lost-fotos.ct"; rescanInterval = 40 * 24 * 3600; }; - media = { - enable = true; - watch = false; - type = "sendonly"; - path = "/media/syncthing/media"; - rescanInterval = 27 * 24 * 3600; - }; + #media = { + # enable = true; + # watch = false; + # type = "sendonly"; + # path = "/media/syncthing/media"; + # rescanInterval = 27 * 24 * 3600; + #}; music-projects = { enable = true; watch = true; diff --git a/nixos/system/all/syncthing.nix b/nixos/system/all/syncthing.nix index ffe01dc..55db8ba 100644 --- a/nixos/system/all/syncthing.nix +++ b/nixos/system/all/syncthing.nix @@ -107,11 +107,11 @@ with lib; { params.keep = "10"; }; }; - media = { - enable = lib.mkDefault false; - watch = lib.mkDefault false; - devices = [ "pepe" "robi" ]; - }; + #media = { + # enable = lib.mkDefault false; + # watch = lib.mkDefault false; + # devices = [ "pepe" "robi" ]; + #}; music-projects = { enable = lib.mkDefault false; id = "acfhu-r4t4f";