nixos/syncserver: set port type to types.port

This commit is contained in:
Daniel Nagy 2021-05-25 19:28:01 +02:00
parent 048c45679f
commit 65b32a0afe
No known key found for this signature in database
GPG key ID: 1B8E8DCB576FB671

View file

@ -67,7 +67,7 @@ in
};
listen.port = mkOption {
type = types.int;
type = types.port;
default = 5000;
description = ''
Port on which the sync server listen to.