Merge pull request #111420 from helsinki-systems/mailpile

nixos/mailpile add types switch port to port type
This commit is contained in:
Sandro 2021-01-31 15:04:01 +01:00 committed by GitHub
commit 49f5e8799b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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