diff --git a/2configs/filepimp-share.nix b/2configs/filepimp-share.nix index abbdcbb..850d432 100644 --- a/2configs/filepimp-share.nix +++ b/2configs/filepimp-share.nix @@ -9,7 +9,9 @@ in { uid = config.ids.uids.smbguest; # effectively systemUser description = "smb guest user"; home = "/var/empty"; + group = "share"; }; + users.groups.share = {}; services.samba = { enable = true; shares = { diff --git a/2configs/lanparty/samba.nix b/2configs/lanparty/samba.nix index 0bd2949..e2fa58c 100644 --- a/2configs/lanparty/samba.nix +++ b/2configs/lanparty/samba.nix @@ -7,7 +7,9 @@ description = "smb guest user"; home = "/data/lanparty"; createHome = true; + group = "share"; }; + users.groups.share = {}; services.samba = { enable = true; enableNmbd = true;