ma: add more groups to users
This commit is contained in:
parent
a3a23f3963
commit
c3fec61aad
@ -7,6 +7,7 @@
|
||||
home = "/home/share";
|
||||
createHome = true;
|
||||
};
|
||||
users.groups.share = {};
|
||||
|
||||
networking.firewall.allowedTCPPorts = [
|
||||
139 445 # samba
|
||||
|
@ -14,7 +14,10 @@ with import <stockholm/lib>;
|
||||
description = "smb guest user";
|
||||
home = "/home/share";
|
||||
createHome = true;
|
||||
group = "share";
|
||||
};
|
||||
users.groups.share = {};
|
||||
|
||||
services.samba = {
|
||||
enable = true;
|
||||
enableNmbd = true;
|
||||
|
@ -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 = {
|
||||
|
@ -7,7 +7,9 @@
|
||||
description = "smb guest user";
|
||||
home = "/data/lanparty";
|
||||
createHome = true;
|
||||
group = "share";
|
||||
};
|
||||
users.groups.share = {};
|
||||
services.samba = {
|
||||
enable = true;
|
||||
enableNmbd = true;
|
||||
|
Loading…
Reference in New Issue
Block a user