From b2ec385900ec79f16acd660cb921206860fa402e Mon Sep 17 00:00:00 2001 From: Ingolf Wagner Date: Sun, 22 Dec 2019 00:33:28 +1300 Subject: [PATCH] fix samba and syncthing problem --- modules/services/samba-share.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/modules/services/samba-share.nix b/modules/services/samba-share.nix index 8ad5ed0..68463ea 100644 --- a/modules/services/samba-share.nix +++ b/modules/services/samba-share.nix @@ -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" ]; }) ]; }