24 lines
474 B
Nix
24 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;
|
|
};
|
|
|
|
}
|