From 78f5e9fe4fc14ae932bdfbe69b11e53b7f78e9d6 Mon Sep 17 00:00:00 2001 From: makefu Date: Sat, 5 Jun 2021 20:06:00 +0200 Subject: [PATCH] ma samba: remove isNormalUser again --- 2configs/filepimp-share.nix | 2 +- 2configs/lanparty/samba.nix | 3 +-- 2configs/share/omo.nix | 1 - 2configs/share/temp-share-samba.nix | 3 +-- 2configs/share/wbob.nix | 3 +-- 2configs/temp/share-samba.nix | 3 +-- 6 files changed, 5 insertions(+), 10 deletions(-) diff --git a/2configs/filepimp-share.nix b/2configs/filepimp-share.nix index 70c0320..abbdcbb 100644 --- a/2configs/filepimp-share.nix +++ b/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/2configs/lanparty/samba.nix b/2configs/lanparty/samba.nix index 0a9694f..0bd2949 100644 --- a/2configs/lanparty/samba.nix +++ b/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/2configs/share/omo.nix b/2configs/share/omo.nix index 32ac018..308142f 100644 --- a/2configs/share/omo.nix +++ b/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/2configs/share/temp-share-samba.nix b/2configs/share/temp-share-samba.nix index 8d597f3..56beb5b 100644 --- a/2configs/share/temp-share-samba.nix +++ b/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/2configs/share/wbob.nix b/2configs/share/wbob.nix index fd07d6a..f2c36b5 100644 --- a/2configs/share/wbob.nix +++ b/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/2configs/temp/share-samba.nix b/2configs/temp/share-samba.nix index 33d68da..106f8fa 100644 --- a/2configs/temp/share-samba.nix +++ b/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" ];