ma: add more groups to users

This commit is contained in:
makefu 2021-12-04 21:02:32 +01:00
parent afa32b9c53
commit a115024641
2 changed files with 4 additions and 0 deletions

View file

@ -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 = {

View file

@ -7,7 +7,9 @@
description = "smb guest user";
home = "/data/lanparty";
createHome = true;
group = "share";
};
users.groups.share = {};
services.samba = {
enable = true;
enableNmbd = true;