diff options
Diffstat (limited to 'makefu')
-rw-r--r-- | makefu/2configs/share/temp-share-samba.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/makefu/2configs/share/temp-share-samba.nix b/makefu/2configs/share/temp-share-samba.nix index 0907c2dbf..ac0eaa978 100644 --- a/makefu/2configs/share/temp-share-samba.nix +++ b/makefu/2configs/share/temp-share-samba.nix @@ -1,4 +1,10 @@ {config, ... }:{ + services.avahi = { + enable = true; + interfaces = [ config.makefu.server.primary-itf ]; + publish.enable = true; + publish.userServices = true; + }; networking.firewall.allowedUDPPorts = [ 137 138 ]; networking.firewall.allowedTCPPorts = [ 139 445 ]; users.users.smbguest = { @@ -17,6 +23,12 @@ browseable = "yes"; "guest ok" = "yes"; }; + movies = { + path = "/home/makefu/movies"; + "read only" = "yes"; + browseable = "yes"; + "guest ok" = "yes"; + }; }; extraConfig = '' guest account = smbguest |