nix-config/nixos/_mixins/services/nordvpn.nix
2024-05-23 15:02:20 -04:00

6 lines
256 B
Nix

{ config, ... }: {
chaotic.nordvpn.enable = true;
networking.firewall.allowedTCPPorts = if config.networking.firewall.enable then [ 443 ] else [ ];
networking.firewall.allowedUDPPorts = if config.networking.firewall.enable then [ 1194 ] else [ ];
}