ma samba: remove isNormalUser again
This commit is contained in:
parent
bcb2997426
commit
78f5e9fe4f
|
@ -6,7 +6,7 @@ let
|
||||||
in {
|
in {
|
||||||
users.users.smbguest = {
|
users.users.smbguest = {
|
||||||
name = "smbguest";
|
name = "smbguest";
|
||||||
uid = config.ids.uids.smbguest;
|
uid = config.ids.uids.smbguest; # effectively systemUser
|
||||||
description = "smb guest user";
|
description = "smb guest user";
|
||||||
home = "/var/empty";
|
home = "/var/empty";
|
||||||
};
|
};
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
networking.firewall.allowedTCPPorts = [ 139 445 ];
|
networking.firewall.allowedTCPPorts = [ 139 445 ];
|
||||||
users.users.smbguest = {
|
users.users.smbguest = {
|
||||||
name = "smbguest";
|
name = "smbguest";
|
||||||
uid = config.ids.uids.smbguest;
|
uid = config.ids.uids.smbguest; #effectively systemUser
|
||||||
description = "smb guest user";
|
description = "smb guest user";
|
||||||
home = "/data/lanparty";
|
home = "/data/lanparty";
|
||||||
createHome = true;
|
createHome = true;
|
||||||
isNormalUser = true;
|
|
||||||
};
|
};
|
||||||
services.samba = {
|
services.samba = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -14,7 +14,6 @@ in {
|
||||||
uid = config.ids.uids.smbguest;
|
uid = config.ids.uids.smbguest;
|
||||||
description = "smb guest user";
|
description = "smb guest user";
|
||||||
home = "/var/empty";
|
home = "/var/empty";
|
||||||
isNormalUser = true;
|
|
||||||
};
|
};
|
||||||
services.samba = {
|
services.samba = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -9,10 +9,9 @@
|
||||||
networking.firewall.allowedTCPPorts = [ 139 445 ];
|
networking.firewall.allowedTCPPorts = [ 139 445 ];
|
||||||
users.users.smbguest = {
|
users.users.smbguest = {
|
||||||
name = "smbguest";
|
name = "smbguest";
|
||||||
uid = config.ids.uids.smbguest;
|
uid = config.ids.uids.smbguest; # effectively systemUser
|
||||||
description = "smb guest user";
|
description = "smb guest user";
|
||||||
home = "/home/share";
|
home = "/home/share";
|
||||||
isNormalUser = true;
|
|
||||||
createHome = true;
|
createHome = true;
|
||||||
};
|
};
|
||||||
services.samba = {
|
services.samba = {
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
networking.firewall.allowedTCPPorts = [ 139 445 ];
|
networking.firewall.allowedTCPPorts = [ 139 445 ];
|
||||||
users.users.smbguest = {
|
users.users.smbguest = {
|
||||||
name = "smbguest";
|
name = "smbguest";
|
||||||
uid = config.ids.uids.smbguest;
|
uid = config.ids.uids.smbguest; # effectively systemUser
|
||||||
description = "smb guest user";
|
description = "smb guest user";
|
||||||
home = "/home/share";
|
home = "/home/share";
|
||||||
createHome = true;
|
createHome = true;
|
||||||
isNormalUser = true;
|
|
||||||
};
|
};
|
||||||
users.groups.mpd.members = [ "makefu" ];
|
users.groups.mpd.members = [ "makefu" ];
|
||||||
services.samba = {
|
services.samba = {
|
||||||
|
|
|
@ -1,10 +1,9 @@
|
||||||
{config, ... }:{
|
{config, ... }:{
|
||||||
users.users.smbguest = {
|
users.users.smbguest = {
|
||||||
name = "smbguest";
|
name = "smbguest";
|
||||||
uid = config.ids.uids.smbguest;
|
uid = config.ids.uids.smbguest; # effectively systemUser
|
||||||
group = "share";
|
group = "share";
|
||||||
description = "smb guest user";
|
description = "smb guest user";
|
||||||
isNormalUser = true;
|
|
||||||
home = "/var/empty";
|
home = "/var/empty";
|
||||||
};
|
};
|
||||||
users.groups.share.members = [ "makefu" ];
|
users.groups.share.members = [ "makefu" ];
|
||||||
|
|
Loading…
Reference in a new issue