syncthing: share some folders via samba

This commit is contained in:
Ingolf Wagner 2019-12-18 16:15:58 +13:00
parent c0412920dd
commit 85fd36d2e8
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
2 changed files with 17 additions and 0 deletions

View file

@ -1,5 +1,13 @@
{ config, pkgs, lib, ... }: { 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 = { test.services.syncthing = {
enable = true; enable = true;

View file

@ -1,6 +1,15 @@
{ config, pkgs, lib, ... }: { 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 = { test.services.syncthing = {
enable = true; enable = true;
openDefaultPorts = false; openDefaultPorts = false;