syncthing: share some folders via samba
This commit is contained in:
parent
c0412920dd
commit
85fd36d2e8
2 changed files with 17 additions and 0 deletions
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue