summaryrefslogtreecommitdiffstats
path: root/makefu
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2021-06-05 20:06:00 +0200
committermakefu <github@syntax-fehler.de>2021-06-06 08:24:18 +0200
commitf7dfc2c43ad99f5971b12a6f6a8c88cca3634f77 (patch)
treea63b2860f71632ef87348d894cacaf3db1829b03 /makefu
parent3af3e6dab39e4c30d867d67228cb4c70bfc48446 (diff)
ma samba: remove isNormalUser again
Diffstat (limited to 'makefu')
-rw-r--r--makefu/2configs/filepimp-share.nix2
-rw-r--r--makefu/2configs/lanparty/samba.nix3
-rw-r--r--makefu/2configs/share/omo.nix1
-rw-r--r--makefu/2configs/share/temp-share-samba.nix3
-rw-r--r--makefu/2configs/share/wbob.nix3
-rw-r--r--makefu/2configs/temp/share-samba.nix3
6 files changed, 5 insertions, 10 deletions
diff --git a/makefu/2configs/filepimp-share.nix b/makefu/2configs/filepimp-share.nix
index 70c0320a1..abbdcbbb2 100644
--- a/makefu/2configs/filepimp-share.nix
+++ b/makefu/2configs/filepimp-share.nix
@@ -6,7 +6,7 @@ let
in {
users.users.smbguest = {
name = "smbguest";
- uid = config.ids.uids.smbguest;
+ uid = config.ids.uids.smbguest; # effectively systemUser
description = "smb guest user";
home = "/var/empty";
};
diff --git a/makefu/2configs/lanparty/samba.nix b/makefu/2configs/lanparty/samba.nix
index 0a9694f60..0bd29497d 100644
--- a/makefu/2configs/lanparty/samba.nix
+++ b/makefu/2configs/lanparty/samba.nix
@@ -3,11 +3,10 @@
networking.firewall.allowedTCPPorts = [ 139 445 ];
users.users.smbguest = {
name = "smbguest";
- uid = config.ids.uids.smbguest;
+ uid = config.ids.uids.smbguest; #effectively systemUser
description = "smb guest user";
home = "/data/lanparty";
createHome = true;
- isNormalUser = true;
};
services.samba = {
enable = true;
diff --git a/makefu/2configs/share/omo.nix b/makefu/2configs/share/omo.nix
index 32ac018e3..308142f03 100644
--- a/makefu/2configs/share/omo.nix
+++ b/makefu/2configs/share/omo.nix
@@ -14,7 +14,6 @@ in {
uid = config.ids.uids.smbguest;
description = "smb guest user";
home = "/var/empty";
- isNormalUser = true;
};
services.samba = {
enable = true;
diff --git a/makefu/2configs/share/temp-share-samba.nix b/makefu/2configs/share/temp-share-samba.nix
index 8d597f33a..56beb5b42 100644
--- a/makefu/2configs/share/temp-share-samba.nix
+++ b/makefu/2configs/share/temp-share-samba.nix
@@ -9,10 +9,9 @@
networking.firewall.allowedTCPPorts = [ 139 445 ];
users.users.smbguest = {
name = "smbguest";
- uid = config.ids.uids.smbguest;
+ uid = config.ids.uids.smbguest; # effectively systemUser
description = "smb guest user";
home = "/home/share";
- isNormalUser = true;
createHome = true;
};
services.samba = {
diff --git a/makefu/2configs/share/wbob.nix b/makefu/2configs/share/wbob.nix
index fd07d6ad5..f2c36b551 100644
--- a/makefu/2configs/share/wbob.nix
+++ b/makefu/2configs/share/wbob.nix
@@ -3,11 +3,10 @@
networking.firewall.allowedTCPPorts = [ 139 445 ];
users.users.smbguest = {
name = "smbguest";
- uid = config.ids.uids.smbguest;
+ uid = config.ids.uids.smbguest; # effectively systemUser
description = "smb guest user";
home = "/home/share";
createHome = true;
- isNormalUser = true;
};
users.groups.mpd.members = [ "makefu" ];
services.samba = {
diff --git a/makefu/2configs/temp/share-samba.nix b/makefu/2configs/temp/share-samba.nix
index 33d68da00..106f8fac6 100644
--- a/makefu/2configs/temp/share-samba.nix
+++ b/makefu/2configs/temp/share-samba.nix
@@ -1,10 +1,9 @@
{config, ... }:{
users.users.smbguest = {
name = "smbguest";
- uid = config.ids.uids.smbguest;
+ uid = config.ids.uids.smbguest; # effectively systemUser
group = "share";
description = "smb guest user";
- isNormalUser = true;
home = "/var/empty";
};
users.groups.share.members = [ "makefu" ];