nixos/mailpile add types switch port to port type

This commit is contained in:
Fritz Otlinghaus 2021-01-31 11:26:07 +01:00
parent 4015c5ca9c
commit f50a26d257
No known key found for this signature in database
GPG Key ID: 1E5F98946FB1444E

View File

@ -21,11 +21,13 @@ in
enable = mkEnableOption "Mailpile the mail client"; enable = mkEnableOption "Mailpile the mail client";
hostname = mkOption { hostname = mkOption {
type = types.str;
default = "localhost"; default = "localhost";
description = "Listen to this hostname or ip."; description = "Listen to this hostname or ip.";
}; };
port = mkOption { port = mkOption {
default = "33411"; type = types.port;
default = 33411;
description = "Listen on this port."; description = "Listen on this port.";
}; };
}; };