summaryrefslogtreecommitdiffstats
path: root/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
commit4745d9af8ed9b4b4659ba84f14b107b6f6cbeab5 (patch)
tree1f969d9a77881b7d9524d0bfdc47fcecd460087e /2configs/share
parent6392c7b55d605ce239ccd0c5b3237fb91512aefc (diff)
ma: add groups to users
Diffstat (limited to '2configs/share')
-rw-r--r--2configs/share/temp-share-samba.nix2
-rw-r--r--2configs/share/wbob.nix2
2 files changed, 4 insertions, 0 deletions
diff --git a/2configs/share/temp-share-samba.nix b/2configs/share/temp-share-samba.nix
index 56beb5b42..bcfddc112 100644
--- a/2configs/share/temp-share-samba.nix
+++ b/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/2configs/share/wbob.nix b/2configs/share/wbob.nix
index f2c36b551..9e5f8ddf5 100644
--- a/2configs/share/wbob.nix
+++ b/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;