diff options
author | makefu <github@syntax-fehler.de> | 2016-07-11 20:45:16 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2016-07-11 20:45:16 +0200 |
commit | b9c2dc13d376a79bceef0829e3990544f950215d (patch) | |
tree | 1e82851719cf1a3fc49dabc5c6eb0b23a5f1d13f /makefu/2configs/temp-share-samba.nix | |
parent | 393f5cb5c71d91493be05f624796f1b19bac8e58 (diff) |
m 1 darth: configure with forward-journal, share
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; |