nixos/nix-serve: use port type

This commit is contained in:
Daniel Nagy 2021-06-18 17:28:35 +02:00
parent 4161c37628
commit 73896b0634
No known key found for this signature in database
GPG Key ID: 1B8E8DCB576FB671

View File

@ -11,7 +11,7 @@ in
enable = mkEnableOption "nix-serve, the standalone Nix binary cache server";
port = mkOption {
type = types.int;
type = types.port;
default = 5000;
description = ''
Port number where nix-serve will listen on.