summaryrefslogtreecommitdiffstats
path: root/makefu/2configs
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2021-12-04 21:02:32 +0100
committermakefu <github@syntax-fehler.de>2021-12-04 21:02:32 +0100
commitc3fec61aadff34c067c568dc27858c06a13c66d8 (patch)
treefe42d1f401f2922b3d567da33920cb18e1a98141 /makefu/2configs
parenta3a23f3963be1c003b7e1e16a921e8faf1d58cd9 (diff)
ma: add more groups to users
Diffstat (limited to 'makefu/2configs')
-rw-r--r--makefu/2configs/filepimp-share.nix2
-rw-r--r--makefu/2configs/lanparty/samba.nix2
2 files changed, 4 insertions, 0 deletions
diff --git a/makefu/2configs/filepimp-share.nix b/makefu/2configs/filepimp-share.nix
index abbdcbbb2..850d432f3 100644
--- a/makefu/2configs/filepimp-share.nix
+++ b/makefu/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/makefu/2configs/lanparty/samba.nix b/makefu/2configs/lanparty/samba.nix
index 0bd29497d..e2fa58c4b 100644
--- a/makefu/2configs/lanparty/samba.nix
+++ b/makefu/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;