diff --git a/configs/porani/syncthing.nix b/configs/porani/syncthing.nix index 9a9f3f3..88c55a8 100644 --- a/configs/porani/syncthing.nix +++ b/configs/porani/syncthing.nix @@ -1,5 +1,13 @@ { config, pkgs, lib, ... }: { + custom.samba-share = { + enable = true; + folders = { + movies = config.test.services.syncthing.declarative.folders.movies.path; + series = config.test.services.syncthing.declarative.folders.series.path; + music = config.test.services.syncthing.declarative.folders.music-library.path; + }; + }; test.services.syncthing = { enable = true; diff --git a/configs/workhorse/syncthing.nix b/configs/workhorse/syncthing.nix index 6154e78..3ffde70 100644 --- a/configs/workhorse/syncthing.nix +++ b/configs/workhorse/syncthing.nix @@ -1,6 +1,15 @@ { config, pkgs, lib, ... }: { + custom.samba-share = { + enable = true; + folders = { + movies = config.test.services.syncthing.declarative.folders.movies.path; + series = config.test.services.syncthing.declarative.folders.series.path; + music = config.test.services.syncthing.declarative.folders.music-library.path; + }; + }; + test.services.syncthing = { enable = true; openDefaultPorts = false;