nixos/nar-serve: use port type

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

View file

@ -13,7 +13,7 @@ in
enable = mkEnableOption "Serve NAR file contents via HTTP";
port = mkOption {
type = types.int;
type = types.port;
default = 8383;
description = ''
Port number where nar-serve will listen on.