From 4eed71903948153f936b526b02e0894d0ef6a111 Mon Sep 17 00:00:00 2001 From: makefu Date: Wed, 25 Sep 2019 14:51:15 +0200 Subject: ma temp-share-samba: export more --- makefu/2configs/share/temp-share-samba.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'makefu') 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 -- cgit v1.2.3