fix samba and syncthing problem
This commit is contained in:
parent
eaa6cd8863
commit
b2ec385900
1 changed files with 4 additions and 3 deletions
|
@ -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" ];
|
||||
})
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue