From 095269c8622e878eaaac117cc6b63dd1a4970a68 Mon Sep 17 00:00:00 2001 From: Daniel Nagy Date: Wed, 9 Nov 2022 22:30:00 +0100 Subject: treewide: use `types.port` in nixos modules --- nixos/modules/system/boot/initrd-ssh.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nixos/modules/system') diff --git a/nixos/modules/system/boot/initrd-ssh.nix b/nixos/modules/system/boot/initrd-ssh.nix index 256aa608ac434..673655f20ee84 100644 --- a/nixos/modules/system/boot/initrd-ssh.nix +++ b/nixos/modules/system/boot/initrd-ssh.nix @@ -25,7 +25,7 @@ in }; port = mkOption { - type = types.int; + type = types.port; default = 22; description = lib.mdDoc '' Port on which SSH initrd service should listen. -- cgit 1.4.1