Compare commits

..

No commits in common. "a3d1233ad19e47a4a4f23fc6516b21d570bd8b54" and "3df87b1a1285e3c4148ea5d1c1a5db31453f16ca" have entirely different histories.

2 changed files with 4 additions and 8 deletions

View file

@ -16,19 +16,15 @@
'';
};
systemd.services.nfs-server.preStart = ''
chmod -R 775 /export/hd/torrent
'';
services.webdav = {
enable = true;
settings = {
address = "0.0.0.0";
address = "10.1.1.2"; # accessible only in LAN, used by Kodi installed on the TV
port = 9999;
scope = "/mnt/hd/torrent";
modify = false;
auth = false;
auth = false; # TODO should we enable authentication? It's only reachable in LAN
debug = true;
users = [ ];
};

View file

@ -39,8 +39,8 @@
];
systemd.tmpfiles.rules = [
"d /mnt/hd/torrent 774 transmission transmission"
"d /mnt/hd/torrent/.incomplete 774 transmission transmission"
"d /mnt/hd/torrent 770 transmission transmission"
"d /mnt/hd/torrent/.incomplete 770 transmission transmission"
];
environment.persistence."/persist".directories = [