nixos/leaps: use port type

This commit is contained in:
Daniel Nagy 2021-06-18 17:29:44 +02:00
parent 50af10e205
commit a8808784e5
No known key found for this signature in database
GPG Key ID: 1B8E8DCB576FB671

View File

@ -11,7 +11,7 @@ in
services.leaps = {
enable = mkEnableOption "leaps";
port = mkOption {
type = types.int;
type = types.port;
default = 8080;
description = "A port where leaps listens for incoming http requests";
};