diff options
author | makefu <github@syntax-fehler.de> | 2019-09-25 14:51:15 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2019-09-25 14:51:15 +0200 |
commit | 7fd5c5c8965a3137439e7853adc99337aaedb6f7 (patch) | |
tree | d31ed4aeb1ea83ad9593ebe218010afc9d9ea2c9 /2configs/share/temp-share-samba.nix | |
parent | 44e473db5721c369d7e148a311139dcbfefc70c8 (diff) |
ma temp-share-samba: export more
Diffstat (limited to '2configs/share/temp-share-samba.nix')
-rw-r--r-- | 2configs/share/temp-share-samba.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/2configs/share/temp-share-samba.nix b/2configs/share/temp-share-samba.nix index 0907c2dbf..ac0eaa978 100644 --- a/2configs/share/temp-share-samba.nix +++ b/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 |