diff --git a/nixos/configs/robi/syncthing.nix b/nixos/configs/robi/syncthing.nix index 0a8c0a1..ff224d6 100644 --- a/nixos/configs/robi/syncthing.nix +++ b/nixos/configs/robi/syncthing.nix @@ -61,26 +61,32 @@ }; movies = { enable = true; + watch = true; path = "/media/syncthing/movies"; }; music-library = { enable = true; + watch = true; path = "/media/syncthing/music"; }; music-projects = { enable = true; + watch = true; path = "/media/syncthing/music-projects"; }; nextcloud_backup = { enable = true; + watch = true; path = "/media/syncthing/nextcloud_backup"; }; samples = { enable = true; + watch = true; path = "/media/syncthing/samples"; }; series = { enable = true; + watch = true; path = "/media/syncthing/series"; }; diff --git a/nixos/modules/system/permown.nix b/nixos/modules/system/permown.nix index 791a63b..5eaadc8 100644 --- a/nixos/modules/system/permown.nix +++ b/nixos/modules/system/permown.nix @@ -78,8 +78,8 @@ in find "$ROOT_PATH" -type f -exec chmod "$FILE_MODE" {} + ''; PrivateTmp = true; - Restart = "always"; - RestartSec = 10; + #Restart = "always"; + #RestartSec = 10; UMask = umask; }; wantedBy = [ "multi-user.target" ]; diff --git a/nixos/system/all/syncthing.nix b/nixos/system/all/syncthing.nix index 2f1240e..ae58d86 100644 --- a/nixos/system/all/syncthing.nix +++ b/nixos/system/all/syncthing.nix @@ -46,7 +46,7 @@ with lib; { # ------------------------------- private = { enable = lib.mkDefault false; - watch = false; + watch = lib.mkDefault false; devices = [ "pepe" "sterni" ]; versioning = { type = "simple"; @@ -55,12 +55,12 @@ with lib; { }; desktop = { enable = lib.mkDefault false; - watch = false; + watch = lib.mkDefault false; devices = [ "pepe" "sterni" ]; }; finance = { enable = lib.mkDefault false; - watch = false; + watch = lib.mkDefault false; devices = [ "pepe" "sterni" ]; versioning = { type = "simple"; @@ -69,7 +69,7 @@ with lib; { }; fotos = { enable = lib.mkDefault false; - watch = false; + watch = lib.mkDefault false; devices = [ "pepe" "sterni" ]; versioning = { type = "simple"; @@ -82,7 +82,7 @@ with lib; { books = { enable = lib.mkDefault false; id = "wwbvs-5lfbh"; - watch = false; + watch = lib.mkDefault false; devices = [ "pepe" "sterni" "robi" ]; versioning = { type = "simple"; @@ -91,7 +91,7 @@ with lib; { }; lost-fotos = { enable = lib.mkDefault false; - watch = false; + watch = lib.mkDefault false; devices = [ "pepe" "robi" ]; versioning = { type = "simple"; @@ -101,7 +101,7 @@ with lib; { movies = { enable = lib.mkDefault false; id = "vatmy-c2qf4"; - watch = false; + watch = lib.mkDefault false; devices = [ "pepe" "robi" ]; versioning = { type = "simple"; @@ -111,7 +111,7 @@ with lib; { music-library = { enable = lib.mkDefault false; id = "gytmq-r2zrx"; - watch = false; + watch = lib.mkDefault false; devices = [ "pepe" "sterni" "robi" ]; versioning = { type = "simple"; @@ -121,7 +121,7 @@ with lib; { music-projects = { enable = lib.mkDefault false; id = "acfhu-r4t4f"; - watch = false; + watch = lib.mkDefault false; devices = [ "pepe" "sterni" "robi" ]; versioning = { type = "simple"; @@ -130,7 +130,7 @@ with lib; { }; nextcloud_backup = { enable = lib.mkDefault false; - watch = false; + watch = lib.mkDefault false; devices = [ "pepe" "robi" ]; versioning = { type = "simple"; @@ -140,13 +140,13 @@ with lib; { samples = { enable = lib.mkDefault false; id = "pcgkj-tjucd"; - watch = false; + watch = lib.mkDefault false; devices = [ "sterni" "pepe" "robi" ]; }; series = { enable = lib.mkDefault false; id = "all-series"; - watch = false; + watch = lib.mkDefault false; devices = [ "pepe" "robi" ]; versioning = { type = "simple";