1
Fork 0
satellite/hosts/nixos/lapetus/services/syncthing.nix
2024-02-02 02:44:22 +01:00

18 lines
402 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;
}