2024-01-31 21:59:11 +01:00
|
|
|
{ config, ... }:
|
|
|
|
let port = 8384;
|
|
|
|
in
|
2023-07-18 16:30:04 +02:00
|
|
|
{
|
2023-12-10 23:48:46 +01:00
|
|
|
imports = [ ../../common/optional/services/syncthing.nix ];
|
2023-07-18 16:30:04 +02:00
|
|
|
|
|
|
|
services.syncthing = {
|
2023-09-28 02:13:35 +02:00
|
|
|
settings.folders = { };
|
2024-01-31 21:59:11 +01:00
|
|
|
guiAddress = "127.0.0.1:${toString port}";
|
2023-07-18 16:30:04 +02:00
|
|
|
};
|
2024-01-31 21:59:11 +01:00
|
|
|
|
|
|
|
services.nginx.virtualHosts."lapetus.syncthing.moonythm.dev" = config.satellite.proxy port;
|
2023-07-18 16:30:04 +02:00
|
|
|
}
|