summary refs log tree commit diff
path: root/nixos/modules/services/networking/mailpile.nix
diff options
context:
space:
mode:
authorFritz Otlinghaus <fritz@otlinghaus.it>2021-01-31 11:26:07 +0100
committerFritz Otlinghaus <fritz@otlinghaus.it>2021-01-31 11:26:07 +0100
commitf50a26d25717eb1e926d315e217c33bc79b1e851 (patch)
tree47b5c40d661dbf65192d28bff5dae0890255e9bc /nixos/modules/services/networking/mailpile.nix
parent4015c5ca9c6ec7d4aa765c97b4413b478daa278b (diff)
downloadnixpkgs-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.nix4
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.";
       };
     };