diff options
author | lassulus <lass@aidsballs.de> | 2016-07-14 22:59:13 +0200 |
---|---|---|
committer | lassulus <lass@aidsballs.de> | 2016-07-14 22:59:13 +0200 |
commit | e2e532c88017f3e8a49a1dfeeef56b932465be31 (patch) | |
tree | 1bd4d3b83f81c8e74afc10e1e149a961bfd0484d /makefu/2configs/temp-share-samba.nix | |
parent | 38a50ffaeb10812eaa9530d8df0381f2d13e360c (diff) | |
parent | 14242c68f234f6de0bed015817ac206f99dc4f20 (diff) |
Merge remote-tracking branch 'gum/master'
Diffstat (limited to 'makefu/2configs/temp-share-samba.nix')
-rw-r--r-- | makefu/2configs/temp-share-samba.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/makefu/2configs/temp-share-samba.nix b/makefu/2configs/temp-share-samba.nix index 5f21e3bf7..0907c2dbf 100644 --- a/makefu/2configs/temp-share-samba.nix +++ b/makefu/2configs/temp-share-samba.nix @@ -1,9 +1,12 @@ {config, ... }:{ + networking.firewall.allowedUDPPorts = [ 137 138 ]; + networking.firewall.allowedTCPPorts = [ 139 445 ]; users.users.smbguest = { name = "smbguest"; uid = config.ids.uids.smbguest; description = "smb guest user"; - home = "/var/empty"; + home = "/home/share"; + createHome = true; }; services.samba = { enable = true; |