summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/temp-share-samba.nix
diff options
context:
space:
mode:
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 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;