1
Fork 0
satellite/hosts/nixos/lapetus/services/syncthing.nix

18 lines
406 B
Nix
Raw Normal View History

2024-01-31 21:59:11 +01:00
{ config, ... }:
let port = 8384;
in
2023-07-18 16:30:04 +02:00
{
2024-02-02 02:44:22 +01:00
imports = [
../../common/optional/services/syncthing.nix
../../common/optional/services/nginx.nix
];
2023-07-18 16:30:04 +02:00
services.syncthing = {
settings.folders = { };
2024-01-31 21:59:11 +01:00
guiAddress = "127.0.0.1:${toString port}";
2024-01-31 23:11:37 +01:00
settings.gui.insecureSkipHostcheck = true;
2023-07-18 16:30:04 +02:00
};
2024-01-31 21:59:11 +01:00
2024-02-03 15:34:35 +01:00
services.nginx.virtualHosts."lapetus.syncthing.moonythm.dev" = config.satellite.proxy port { };
2023-07-18 16:30:04 +02:00
}