nixos-config/2configs/sync/relay.nix
2024-03-23 10:20:35 +01:00

14 lines
256 B
Nix

{config, ... }:
{
services.syncthing = {
relay = {
enable = true;
providedBy = "makefu";
};
};
networking.firewall.allowedTCPPorts = [
config.services.syncthing.relay.port
config.services.syncthing.relay.statusPort
];
}