diff options
author | makefu <github@syntax-fehler.de> | 2021-06-06 19:15:44 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2021-06-06 19:15:44 +0200 |
commit | 74058abe0b5da0753c2167d6bab29eb1eae88366 (patch) | |
tree | 748e9e75c0498161629597f7469933e69303168b /makefu/2configs/share | |
parent | 88a845f7a1a037bf6bcf23863d41f36c4cedcd7e (diff) | |
parent | a5bc9126db72f59062ff9d6a72b2fa35437b42cb (diff) |
Merge branch '21.05'
Diffstat (limited to 'makefu/2configs/share')
-rw-r--r-- | makefu/2configs/share/gum.nix | 5 | ||||
-rw-r--r-- | makefu/2configs/share/temp-share-samba.nix | 2 | ||||
-rw-r--r-- | makefu/2configs/share/wbob.nix | 2 |
3 files changed, 6 insertions, 3 deletions
diff --git a/makefu/2configs/share/gum.nix b/makefu/2configs/share/gum.nix index 27e0c638b..fd81f28ca 100644 --- a/makefu/2configs/share/gum.nix +++ b/makefu/2configs/share/gum.nix @@ -11,7 +11,10 @@ in { # home = "/var/empty"; # }; environment.systemPackages = [ pkgs.samba ]; - users.users.download.uid = genid "download"; + users.users.download = { + uid = genid "download"; + isNormalUser = true; + }; services.samba = { enable = true; shares = { diff --git a/makefu/2configs/share/temp-share-samba.nix b/makefu/2configs/share/temp-share-samba.nix index ac0eaa978..56beb5b42 100644 --- a/makefu/2configs/share/temp-share-samba.nix +++ b/makefu/2configs/share/temp-share-samba.nix @@ -9,7 +9,7 @@ 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; diff --git a/makefu/2configs/share/wbob.nix b/makefu/2configs/share/wbob.nix index 9695751ff..f2c36b551 100644 --- a/makefu/2configs/share/wbob.nix +++ b/makefu/2configs/share/wbob.nix @@ -3,7 +3,7 @@ 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; |