diff --git a/configs/pepe/syncthing.nix b/configs/pepe/syncthing.nix index 822ebc2..9b230e8 100644 --- a/configs/pepe/syncthing.nix +++ b/configs/pepe/syncthing.nix @@ -29,6 +29,30 @@ # on encrypted drive # ------------------ + private = { + enable = true; + path = "/home/syncthing/private"; + }; + desktop = { + enable = true; + path = "/home/syncthing/desktop"; + }; + finance = { + enable = true; + path = "/home/syncthing/finance"; + }; + lost-fotos = { + enable = true; + path = "/home/syncthing/lost-fotos.ct"; + }; + fotos = { + enable = true; + path = "/home/syncthing/fotos"; + }; + zettlr = { + enable = true; + path = "/home/syncthing/zettlr"; + }; # no need to be encrypted # ----------------------- @@ -42,6 +66,10 @@ path = "/media/syncthing/movies"; rescanInterval = 8 * 3600; }; + music-projects = { + enable = true; + path = "/media/syncthing/music-projects"; + }; music-library = { enable = true; path = "/media/syncthing/music-library"; @@ -87,6 +115,10 @@ }; }; + system.permown."/home/syncthing" = { + owner = "syncthing"; + group = "syncthing"; + }; system.permown."/media/syncthing" = { owner = "syncthing"; group = "syncthing"; diff --git a/configs/sterni/syncthing.nix b/configs/sterni/syncthing.nix index e05318f..23cf351 100644 --- a/configs/sterni/syncthing.nix +++ b/configs/sterni/syncthing.nix @@ -61,10 +61,6 @@ enable = true; path = "/home/palo/smartphone-folder"; }; - workhorse-sterni = { - enable = true; - path = "/home/palo/sync-to-workhorse"; - }; processing = { enable = true; path = "/home/palo/sketchbook"; diff --git a/configs/workhorse/syncthing.nix b/configs/workhorse/syncthing.nix index d8aa490..956d1c6 100644 --- a/configs/workhorse/syncthing.nix +++ b/configs/workhorse/syncthing.nix @@ -45,10 +45,6 @@ enable = true; path = "/home/syncthing/lost-fotos.ct"; }; - music-projects = { - enable = true; - path = "/home/syncthing/music-projects"; - }; zettlr = { enable = true; path = "/home/syncthing/zettlr"; @@ -85,6 +81,11 @@ path = "/media/syncthing/movies"; rescanInterval = 8 * 3600; }; + # todo : no need to place it on encrypted drive + music-projects = { + enable = true; + path = "/home/syncthing/music-projects"; + }; music-library = { enable = true; path = "/media/syncthing/music-library"; @@ -110,6 +111,10 @@ }; }; + system.permown."/home/syncthing" = { + owner = "syncthing"; + group = "syncthing"; + }; system.permown."/media/syncthing" = { owner = "syncthing"; group = "syncthing"; diff --git a/system/all/syncthing.nix b/system/all/syncthing.nix index 4fb5b5b..737f002 100644 --- a/system/all/syncthing.nix +++ b/system/all/syncthing.nix @@ -215,11 +215,6 @@ with lib; { watch = false; devices = [ "bumba" "workout" ]; }; - workhorse-sterni = { - enable = lib.mkDefault false; - devices = [ "workhorse" "sterni" ]; - watch = false; - }; }; };