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

15 lines
351 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
{
2023-12-10 23:48:46 +01:00
imports = [ ../../common/optional/services/syncthing.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
services.nginx.virtualHosts."lapetus.syncthing.moonythm.dev" = config.satellite.proxy port;
2023-07-18 16:30:04 +02:00
}