diff options
author | makefu <github@syntax-fehler.de> | 2021-12-04 20:46:47 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2021-12-04 20:46:47 +0100 |
commit | a4bd00deb76859c03a8d47d23775c1c4fae27833 (patch) | |
tree | b5068b75cd2d7eaaf656a5ca3f54ba96061dcaee /makefu/2configs/share | |
parent | 40d315b73a0842ffdc76d3508e2446aa3059f78b (diff) |
ma: add groups to users
Diffstat (limited to 'makefu/2configs/share')
-rw-r--r-- | makefu/2configs/share/temp-share-samba.nix | 2 | ||||
-rw-r--r-- | makefu/2configs/share/wbob.nix | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/makefu/2configs/share/temp-share-samba.nix b/makefu/2configs/share/temp-share-samba.nix index 56beb5b42..bcfddc112 100644 --- a/makefu/2configs/share/temp-share-samba.nix +++ b/makefu/2configs/share/temp-share-samba.nix @@ -13,7 +13,9 @@ description = "smb guest user"; home = "/home/share"; createHome = true; + group = "smbguest"; }; + users.groups.smbguest = {}; services.samba = { enable = true; shares = { diff --git a/makefu/2configs/share/wbob.nix b/makefu/2configs/share/wbob.nix index f2c36b551..9e5f8ddf5 100644 --- a/makefu/2configs/share/wbob.nix +++ b/makefu/2configs/share/wbob.nix @@ -7,7 +7,9 @@ description = "smb guest user"; home = "/home/share"; createHome = true; + group = "smbguest"; }; + users.groups.smbguest = {}; users.groups.mpd.members = [ "makefu" ]; services.samba = { enable = true; |