14 lines
256 B
Nix
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
|
|
];
|
|
}
|