add resilio
This commit is contained in:
@@ -9,5 +9,6 @@
|
||||
./gitlab.nix
|
||||
./nextcloud.nix
|
||||
./news2kindle.nix
|
||||
./resilio.nix
|
||||
];
|
||||
}
|
||||
|
||||
20
services/resilio.nix
Normal file
20
services/resilio.nix
Normal 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;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user