nixos/gitea: use port type

This commit is contained in:
Daniel Nagy 2021-06-18 17:27:06 +02:00
parent 4037c974f5
commit ab5d317d51
No known key found for this signature in database
GPG Key ID: 1B8E8DCB576FB671

View File

@ -82,7 +82,7 @@ in
};
port = mkOption {
type = types.int;
type = types.port;
default = (if !usePostgresql then 3306 else pg.port);
description = "Database host port.";
};