summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/temp-share-samba.nix
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2016-07-14 22:59:13 +0200
committerlassulus <lass@aidsballs.de>2016-07-14 22:59:13 +0200
commite2e532c88017f3e8a49a1dfeeef56b932465be31 (patch)
tree1bd4d3b83f81c8e74afc10e1e149a961bfd0484d /makefu/2configs/temp-share-samba.nix
parent38a50ffaeb10812eaa9530d8df0381f2d13e360c (diff)
parent14242c68f234f6de0bed015817ac206f99dc4f20 (diff)
Merge remote-tracking branch 'gum/master'
Diffstat (limited to 'makefu/2configs/temp-share-samba.nix')
-rw-r--r--makefu/2configs/temp-share-samba.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/makefu/2configs/temp-share-samba.nix b/makefu/2configs/temp-share-samba.nix
index 5f21e3bf..0907c2db 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;