add resilio

This commit is contained in:
stubbfel
2018-01-04 14:17:19 +01:00
parent 733df301ae
commit 5faa0b8698
2 changed files with 21 additions and 0 deletions

View File

@@ -9,5 +9,6 @@
./gitlab.nix
./nextcloud.nix
./news2kindle.nix
./resilio.nix
];
}

20
services/resilio.nix Normal file
View File

@@ -0,0 +1,20 @@
{ config, pkgs, ... }:
{
services.nginx.virtualHosts."sync.stubbe.rocks" = {
enableACME = true;
forceSSL = true;
locations."/".proxyPass = "http://localhost:${services.resilio.httpListenPort}";
};
services.resilio = {
enable = true;
deviceName = "stubbfelnix";
checkForUpdates = false;
useUpnp = false;
httpLogin = "resilioSyncAdmin";
httpPass = "&u)cg?ZD6P%S";
enableWebUI = true;
};
}