nixos-config/machines/orbi/service-taskchampion.nix

29 lines
599 B
Nix
Raw Normal View History

2024-08-29 03:26:04 +02:00
{
config,
lib,
pkgs,
2024-09-03 13:20:29 +02:00
zerotierInterface,
2024-08-29 03:26:04 +02:00
...
}:
{
2023-12-09 17:15:50 +01:00
verify.closed.public.ports.taskchampion = [ config.services.taskchampion-sync-server.port ];
2024-09-16 02:06:03 +02:00
verify.http.taskchampion = {
url = "http://orbi.private:10222";
expectedContent = "TaskChampion sync server";
};
2024-09-03 13:21:26 +02:00
networking.firewall.interfaces.wg0.allowedTCPPorts = [
config.services.taskchampion-sync-server.port
];
networking.firewall.interfaces.wg0.allowedUDPPorts = [
config.services.taskchampion-sync-server.port
];
2024-09-03 13:20:29 +02:00
services.taskchampion-sync-server = {
2023-12-09 17:15:50 +01:00
enable = true;
2024-09-03 13:20:29 +02:00
openFirewall = false;
2023-12-09 17:15:50 +01:00
};
}