diff options
author | Fritz Otlinghaus <fritz@otlinghaus.it> | 2021-01-31 11:26:07 +0100 |
---|---|---|
committer | Fritz Otlinghaus <fritz@otlinghaus.it> | 2021-01-31 11:26:07 +0100 |
commit | f50a26d25717eb1e926d315e217c33bc79b1e851 (patch) | |
tree | 47b5c40d661dbf65192d28bff5dae0890255e9bc /nixos/modules/services/networking/mailpile.nix | |
parent | 4015c5ca9c6ec7d4aa765c97b4413b478daa278b (diff) | |
download | nixpkgs-f50a26d25717eb1e926d315e217c33bc79b1e851.tar nixpkgs-f50a26d25717eb1e926d315e217c33bc79b1e851.tar.gz nixpkgs-f50a26d25717eb1e926d315e217c33bc79b1e851.tar.bz2 nixpkgs-f50a26d25717eb1e926d315e217c33bc79b1e851.tar.lz nixpkgs-f50a26d25717eb1e926d315e217c33bc79b1e851.tar.xz nixpkgs-f50a26d25717eb1e926d315e217c33bc79b1e851.tar.zst nixpkgs-f50a26d25717eb1e926d315e217c33bc79b1e851.zip |
nixos/mailpile add types switch port to port type
Diffstat (limited to 'nixos/modules/services/networking/mailpile.nix')
-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 b79ee11d17d..4673a2580b6 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."; }; }; |