fix samba and syncthing problem

This commit is contained in:
Ingolf Wagner 2019-12-22 00:33:28 +13:00
parent eaa6cd8863
commit b2ec385900
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B

View file

@ -44,7 +44,7 @@ in {
name = name;
value = {
browsable = "yes";
comment = "read only share {name}";
comment = "read only share ${name}";
path = path;
"read only" = "yes";
"guest ok" = "yes";
@ -61,8 +61,9 @@ in {
};
})
(mkIf config.services.syncthing.enable {
users.groups.syncthing.members = [ "smbguest" ];
# todo : maybe better to have a parameter for this
(mkIf config.test.services.syncthing.enable {
users.groups."syncthing".members = [ "smbguest" ];
})
];
}