Merge pull request #111420 from helsinki-systems/mailpile
nixos/mailpile add types switch port to port type
This commit is contained in:
commit
49f5e8799b
1 changed files with 3 additions and 1 deletions
|
@ -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.";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue