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

23 lines
378 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
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
};
}