21 lines
444 B
Nix
21 lines
444 B
Nix
{ 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;
|
|
};
|
|
}
|