nixos/nix-serve: use port
type
This commit is contained in:
parent
4161c37628
commit
73896b0634
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue