nixos-config/machines/orbi/service-taskchampion.nix
Ingolf Wagner e43f4514bc
All checks were successful
Build all NixOS Configurations / nix build (push) Successful in 12m40s
create verify.http options
2024-09-16 07:06:03 +07:00

29 lines
599 B
Nix

{
config,
lib,
pkgs,
zerotierInterface,
...
}:
{
verify.closed.public.ports.taskchampion = [ config.services.taskchampion-sync-server.port ];
verify.http.taskchampion = {
url = "http://orbi.private:10222";
expectedContent = "TaskChampion sync server";
};
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;
};
}