Files
stubbfelnix/services/resilio.nix
2018-01-04 14:37:11 +01:00

22 lines
494 B
Nix

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