nixos-config/machines/orbi/service-taskserver.nix
Ingolf Wagner 394790bf0e
💄 nix fmt
2024-09-03 18:21:26 +07:00

22 lines
378 B
Nix

{
config,
lib,
pkgs,
zerotierInterface,
...
}:
{
networking.firewall.interfaces.wg0.allowedTCPPorts = [
config.services.taskchampion-sync-server.port
];
networking.firewall.interfaces.wg0.allowedUDPPorts = [
config.services.taskchampion-sync-server.port
];
services.taskchampion-sync-server = {
enable = true;
openFirewall = false;
};
}