nixos-config/machines/orbi/service-taskchampion.nix
Ingolf Wagner 31d674132b
All checks were successful
Build all NixOS Configurations / nix build (push) Successful in 13m25s
verify closed ports script kinda works now.
2024-09-14 07:09:41 +07:00

25 lines
474 B
Nix

{
config,
lib,
pkgs,
zerotierInterface,
...
}:
{
verify.closed.public.ports.taskchampion = [ config.services.taskchampion-sync-server.port ];
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;
};
}