From 37e55bb3426791f1c8266f6e6df91c26f82cbd9c Mon Sep 17 00:00:00 2001 From: Andrea Ciceri Date: Tue, 31 Dec 2024 14:36:38 +0100 Subject: [PATCH] Expose webdav both on the LAN and the VPN --- modules/sisko-share/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/sisko-share/default.nix b/modules/sisko-share/default.nix index 6d4a3cb..22f52a6 100644 --- a/modules/sisko-share/default.nix +++ b/modules/sisko-share/default.nix @@ -19,15 +19,16 @@ systemd.services.nfs-server.preStart = '' chmod -R 775 /export/hd/torrent ''; + services.webdav = { enable = true; settings = { - address = "10.1.1.2"; # accessible only in LAN, used by Kodi installed on the TV + address = "0.0.0.0"; port = 9999; scope = "/mnt/hd/torrent"; modify = false; - auth = false; # TODO should we enable authentication? It's only reachable in LAN + auth = false; debug = true; users = [ ]; };