summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/share
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2021-12-04 20:46:47 +0100
committermakefu <github@syntax-fehler.de>2021-12-04 20:46:47 +0100
commita4bd00deb76859c03a8d47d23775c1c4fae27833 (patch)
treeb5068b75cd2d7eaaf656a5ca3f54ba96061dcaee /makefu/2configs/share
parent40d315b73a0842ffdc76d3508e2446aa3059f78b (diff)
ma: add groups to users
Diffstat (limited to 'makefu/2configs/share')
-rw-r--r--makefu/2configs/share/temp-share-samba.nix2
-rw-r--r--makefu/2configs/share/wbob.nix2
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;