fixing syncthing

This commit is contained in:
Ingolf Wagner 2023-04-10 23:14:13 +02:00
parent 7756d61777
commit f4e556cc24
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
2 changed files with 6 additions and 3 deletions

View file

@ -5,7 +5,8 @@
custom.samba-share = { custom.samba-share = {
enable = true; enable = true;
folders = { folders = {
media = config.services.syncthing.folders.media.path; #media = config.services.syncthing.folders.media.path;
media = "/media/syncthing/media";
}; };
private.upload = { private.upload = {
folder = "/media/upload"; folder = "/media/upload";

View file

@ -139,8 +139,10 @@ in
isReadOnly = false; isReadOnly = false;
}; };
media = { media = {
mountPoint = toString config.services.syncthing.folders.media.path; #mountPoint = toString config.services.syncthing.folders.media.path;
hostPath = toString config.services.syncthing.folders.media.path; #hostPath = toString config.services.syncthing.folders.media.path;
mountPoint = "/media/syncthing/media";
hostPath = "/media/syncthing/media";
isReadOnly = true; isReadOnly = true;
}; };
}; };