diff --git a/nixos/components/network/syncthing.nix b/nixos/components/network/syncthing.nix index a53e2af..edd04ba 100644 --- a/nixos/components/network/syncthing.nix +++ b/nixos/components/network/syncthing.nix @@ -51,16 +51,39 @@ with lib; { # needs to be on encrypted drives # ------------------------------- - oscar_cpap = { - enable = lib.mkDefault false; - path = lib.mkDefault "/tmp/oscar_cpap"; - devices = [ "chungus" "cream" "cherry" ]; - }; audiobooks = { enable = lib.mkDefault false; path = lib.mkDefault "/tmp/audiobooks"; devices = [ "chungus" "orbi" ]; }; + books = { + enable = lib.mkDefault false; + path = lib.mkDefault "/tmp/books"; + devices = [ "chungus" "robi" "cream" "cherry" ]; + versioning = { + type = "simple"; + params.keep = "2"; + }; + }; + desktop = { + enable = lib.mkDefault false; + path = lib.mkDefault "/tmp/desktop"; + devices = [ "chungus" "cream" "mobi" "bobi" "cherry" ]; + }; + finance = { + enable = lib.mkDefault false; + path = lib.mkDefault "/tmp/finance"; + devices = [ "chungus" "cream" "mobi" "bobi" "cherry" ]; + versioning = { + type = "simple"; + params.keep = "10"; + }; + }; + flix = { + enable = lib.mkDefault false; + path = lib.mkDefault "/tmp/flix"; + devices = [ "chungus" "orbi" ]; + }; logseq = { enable = lib.mkDefault false; path = lib.mkDefault "/tmp/logseq"; @@ -71,14 +94,10 @@ with lib; { path = lib.mkDefault "/tmp/lectures"; devices = [ "chungus" "orbi" ]; }; - books = { + oscar_cpap = { enable = lib.mkDefault false; - path = lib.mkDefault "/tmp/books"; - devices = [ "chungus" "robi" "cream" "cherry" ]; - versioning = { - type = "simple"; - params.keep = "2"; - }; + path = lib.mkDefault "/tmp/oscar_cpap"; + devices = [ "chungus" "cream" "cherry" ]; }; password-store = { enable = lib.mkDefault false; @@ -89,30 +108,16 @@ with lib; { params.keep = "10"; }; }; - desktop = { - enable = lib.mkDefault false; - path = lib.mkDefault "/tmp/desktop"; - devices = [ "chungus" "cream" "mobi" "bobi" "cherry" ]; - }; - finance = { - enable = lib.mkDefault false; - path = lib.mkDefault "/tmp/finance"; - devices = [ "chungus" "cream" "mobi" "bobi" ]; - versioning = { - type = "simple"; - params.keep = "10"; - }; - }; # todo remove if zfs is is used - nextcloud_backup = { - enable = lib.mkDefault false; - path = lib.mkDefault "/tmp/lost-fotos"; - devices = [ "chungus" "robi" ]; - versioning = { - type = "simple"; - params.keep = "2"; - }; - }; + #nextcloud_backup = { + # enable = lib.mkDefault false; + # path = lib.mkDefault "/tmp/lost-fotos"; + # devices = [ "chungus" "robi" ]; + # versioning = { + # type = "simple"; + # params.keep = "2"; + # }; + #}; }; }; diff --git a/nixos/machines/chungus/media-syncthing.nix b/nixos/machines/chungus/media-syncthing.nix index edd0e3f..f0bf40c 100644 --- a/nixos/machines/chungus/media-syncthing.nix +++ b/nixos/machines/chungus/media-syncthing.nix @@ -64,6 +64,11 @@ type = "sendonly"; path = "/media/lectures"; }; + flix = { + enable = true; + type = "sendonly"; + path = "/syncthing/flix"; + }; }; }; diff --git a/nixos/machines/orbi/media-syncthing.nix b/nixos/machines/orbi/media-syncthing.nix index 57a30a5..05503e2 100644 --- a/nixos/machines/orbi/media-syncthing.nix +++ b/nixos/machines/orbi/media-syncthing.nix @@ -15,11 +15,16 @@ settings.folders = { audiobooks = { enable = true; - path = "/media/synchthing/audiobooks"; + path = "/media/syncthing/audiobooks"; }; lectures = { enable = true; - path = "/media/synchthing/lectures"; + path = "/media/syncthing/lectures"; + }; + flix = { + enable = true; + type = "receiveonly"; + path = "/media/syncthing/flix"; }; }; };