about summary refs log tree commit diff
path: root/nixos/modules/services/networking/toxvpn.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/services/networking/toxvpn.nix')
-rw-r--r--nixos/modules/services/networking/toxvpn.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/toxvpn.nix b/nixos/modules/services/networking/toxvpn.nix
index d0ff5bc4e8138..3a14b5f73091c 100644
--- a/nixos/modules/services/networking/toxvpn.nix
+++ b/nixos/modules/services/networking/toxvpn.nix
@@ -14,7 +14,7 @@ with lib;
       };
 
       port = mkOption {
-        type        = types.int;
+        type        = types.port;
         default     = 33445;
         description = lib.mdDoc "udp port for toxcore, port-forward to help with connectivity if you run many nodes behind one NAT";
       };