22 lines
494 B
Nix
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";
|
|
};
|
|
}
|