diff options
author | Daniel Nagy <danielnagy@posteo.de> | 2022-11-09 22:30:00 +0100 |
---|---|---|
committer | Daniel Nagy <danielnagy@posteo.de> | 2022-11-10 09:30:00 +0100 |
commit | 095269c8622e878eaaac117cc6b63dd1a4970a68 (patch) | |
tree | a386280c5393e47ec123a7f3dba08612f264fde5 /nixos/modules/system | |
parent | c32d981cdd0835dd847a091c6603630009129f8f (diff) |
treewide: use `types.port` in nixos modules
Diffstat (limited to 'nixos/modules/system')
-rw-r--r-- | nixos/modules/system/boot/initrd-ssh.nix | 2 |
1 files changed, 1 insertions, 1 deletions
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. |