nixos/mailpile add types switch port to port type

Changed files
+3 -1
nixos
modules
services
networking
+3 -1
nixos/modules/services/networking/mailpile.nix
···
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.";
};
};