1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
inputs: { config, ... }: { services.radicale = { enable = true; settings = { # Bind address on VPN interface only server.hosts = "[${config.topology.mainVpn.currentNodeIP}]:5232"; }; }; networking.firewall.interfaces.${config.topology.mainVpn.interfaceName}.allowedTCPPorts = [ 5232 ]; }