You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
464 B
21 lines
464 B
{ config, lib, ... }:
|
|
|
|
{
|
|
services.syncthing = {
|
|
enable = true;
|
|
user = "spacekookie";
|
|
group = "core";
|
|
openDefaultPorts = true;
|
|
guiAddress = "0.0.0.0:8384";
|
|
};
|
|
|
|
services.nginx.enable = true;
|
|
services.nginx.virtualHosts."sync.kookiejar.tech" = {
|
|
serverAliases = [ "sync.alarei.kookie.space" ];
|
|
useACMEHost = "alarei.kookie.space";
|
|
forceSSL = true;
|
|
locations."/" = {
|
|
proxyPass = "http://127.0.0.1:8384";
|
|
};
|
|
};
|
|
}
|
|
|