diff --git a/nixos/modules/profiles/nix-builder-vm.nix b/nixos/modules/profiles/nix-builder-vm.nix index 287ae83f498e..67a134cb95fa 100644 --- a/nixos/modules/profiles/nix-builder-vm.nix +++ b/nixos/modules/profiles/nix-builder-vm.nix @@ -85,7 +85,7 @@ in }; hostPort = mkOption { default = 31022; - type = types.int; + type = types.port; example = 22; description = '' The localhost host port to forward TCP to the guest port.