diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2021-01-31 15:04:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-31 15:04:01 +0100 |
commit | 49f5e8799b22319843b8c99105fb267651104ce7 (patch) | |
tree | fae2c8ad985afaa5b3734a499410c44d5ab99488 | |
parent | 60b597ad3b72e9c2a847e6e631212adbc6d945cb (diff) | |
parent | f50a26d25717eb1e926d315e217c33bc79b1e851 (diff) |
Merge pull request #111420 from helsinki-systems/mailpile
nixos/mailpile add types switch port to port type
-rw-r--r-- | nixos/modules/services/networking/mailpile.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/mailpile.nix b/nixos/modules/services/networking/mailpile.nix index b79ee11d17db..4673a2580b60 100644 --- a/nixos/modules/services/networking/mailpile.nix +++ b/nixos/modules/services/networking/mailpile.nix @@ -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."; }; }; |