1
Fork 0
satellite/hosts/nixos/lapetus/services/syncthing.nix
2024-02-03 15:34:35 +01:00

18 lines
406 B
Nix

{ config, ... }:
let port = 8384;
in
{
imports = [
../../common/optional/services/syncthing.nix
../../common/optional/services/nginx.nix
];
services.syncthing = {
settings.folders = { };
guiAddress = "127.0.0.1:${toString port}";
settings.gui.insecureSkipHostcheck = true;
};
services.nginx.virtualHosts."lapetus.syncthing.moonythm.dev" = config.satellite.proxy port { };
}