···74747575 listen = {
7676 port = mkOption {
7777- type = types.int;
7777+ type = types.port;
7878 description = lib.mdDoc "TCP port that will be used to accept client connections.";
7979 default = 8000;
8080 };
+1-1
nixos/modules/services/audio/mpd.nix
···142142 };
143143144144 port = mkOption {
145145- type = types.int;
145145+ type = types.port;
146146 default = 6600;
147147 description = lib.mdDoc ''
148148 This setting is the TCP port that is desired for the daemon to get assigned
···206206207207 port = mkOption {
208208 default = 8010;
209209- type = types.int;
209209+ type = types.port;
210210 description = lib.mdDoc "Specifies port number on which the buildbot HTTP interface listens.";
211211 };
212212
···5757 };
58585959 port = mkOption {
6060- type = types.int;
6060+ type = types.port;
6161 default = 8888;
6262 description = lib.mdDoc ''
6363 Port number Jupyter will be listening on.
+2-2
nixos/modules/services/misc/gitlab.nix
···560560 description = lib.mdDoc "GitLab container registry host name.";
561561 };
562562 port = mkOption {
563563- type = types.int;
563563+ type = types.port;
564564 default = 4567;
565565 description = lib.mdDoc "GitLab container registry port.";
566566 };
···613613 };
614614615615 port = mkOption {
616616- type = types.int;
616616+ type = types.port;
617617 default = 25;
618618 description = lib.mdDoc "Port of the SMTP server for GitLab.";
619619 };
+3-3
nixos/modules/services/misc/ripple-data-api.nix
···4040 port = mkOption {
4141 description = lib.mdDoc "Ripple data api port";
4242 default = 5993;
4343- type = types.int;
4343+ type = types.port;
4444 };
45454646 importMode = mkOption {
···7777 port = mkOption {
7878 description = lib.mdDoc "Ripple data api redis port.";
7979 default = 5984;
8080- type = types.int;
8080+ type = types.port;
8181 };
8282 };
8383···9191 port = mkOption {
9292 description = lib.mdDoc "Ripple data api couchdb port.";
9393 default = 5984;
9494- type = types.int;
9494+ type = types.port;
9595 };
96969797 db = mkOption {
···107107 };
108108109109 port = mkOption {
110110- type = types.int;
110110+ type = types.port;
111111 default = 9093;
112112 description = lib.mdDoc ''
113113 Port to listen on for the web interface and API.
···1818 };
1919 tub.port = mkOption {
2020 default = 3458;
2121- type = types.int;
2121+ type = types.port;
2222 description = lib.mdDoc ''
2323 The port on which the introducer will listen.
2424 '';
···5858 };
5959 tub.port = mkOption {
6060 default = 3457;
6161- type = types.int;
6161+ type = types.port;
6262 description = lib.mdDoc ''
6363 The port on which the tub will listen.
6464···8080 };
8181 web.port = mkOption {
8282 default = 3456;
8383- type = types.int;
8383+ type = types.port;
8484 description = lib.mdDoc ''
8585 The port on which the Web server will listen.
8686
+1-1
nixos/modules/services/networking/morty.nix
···5050 };
51515252 port = mkOption {
5353- type = types.int;
5353+ type = types.port;
5454 default = 3000;
5555 description = lib.mdDoc "Listing port";
5656 };
+2-2
nixos/modules/services/networking/nsd.nix
···588588 };
589589590590 port = mkOption {
591591- type = types.int;
591591+ type = types.port;
592592 default = 53;
593593 description = lib.mdDoc ''
594594 Port the service should bind do.
···825825 };
826826827827 port = mkOption {
828828- type = types.int;
828828+ type = types.port;
829829 default = 8952;
830830 description = lib.mdDoc ''
831831 Port number for remote control operations (uses TLS over TCP).
+1-1
nixos/modules/services/networking/nylon.nix
···8181 };
82828383 port = mkOption {
8484- type = types.int;
8484+ type = types.port;
8585 default = 1080;
8686 description = lib.mdDoc ''
8787 What port to listen for client requests, default is 1080.
···3838 };
39394040 dns.port = mkOption {
4141- type = types.int;
4141+ type = types.port;
4242 default = 53;
4343 description = lib.mdDoc ''
4444 Port number Recursor DNS server will bind to.
···6767 };
68686969 api.port = mkOption {
7070- type = types.int;
7070+ type = types.port;
7171 default = 8082;
7272 description = lib.mdDoc ''
7373 Port number Recursor REST API server will bind to.
+1-1
nixos/modules/services/networking/redsocks.nix
···8181 };
82828383 port = mkOption {
8484- type = types.int;
8484+ type = types.port;
8585 default = 12345;
8686 description = lib.mdDoc "Port on which redsocks should listen.";
8787 };
+2-2
nixos/modules/services/networking/znc/options.nix
···1818 };
19192020 port = mkOption {
2121- type = types.ints.u16;
2121+ type = types.port;
2222 default = 6697;
2323 description = lib.mdDoc ''
2424 IRC server port.
···188188189189 port = mkOption {
190190 default = 5000;
191191- type = types.int;
191191+ type = types.port;
192192 description = lib.mdDoc ''
193193 Specifies the port on which to listen.
194194 '';
···5050 };
5151 port = mkOption {
5252 description = lib.mdDoc "the port that elasticsearch is listening on";
5353- type = types.int;
5353+ type = types.port;
5454 default = 9200;
5555 };
5656 actionYAML = mkOption {
+1-1
nixos/modules/services/search/elasticsearch.nix
···6666 port = mkOption {
6767 description = lib.mdDoc "Elasticsearch port to listen for HTTP traffic.";
6868 default = 9200;
6969- type = types.int;
6969+ type = types.port;
7070 };
71717272 tcp_port = mkOption {
+1-1
nixos/modules/services/web-apps/hedgedoc.nix
···449449 '';
450450 };
451451 port = mkOption {
452452- type = types.int;
452452+ type = types.port;
453453 default = 9000;
454454 description = lib.mdDoc ''
455455 Minio listen port.
+1-1
nixos/modules/services/web-apps/limesurvey.nix
···4949 };
50505151 port = mkOption {
5252- type = types.int;
5252+ type = types.port;
5353 default = if cfg.database.type == "pgsql" then 5442 else 3306;
5454 defaultText = literalExpression "3306";
5555 description = lib.mdDoc "Database host port.";
+1-1
nixos/modules/services/web-apps/moodle.nix
···9696 };
97979898 port = mkOption {
9999- type = types.int;
9999+ type = types.port;
100100 description = lib.mdDoc "Database host port.";
101101 default = {
102102 mysql = 3306;
+2-2
nixos/modules/services/web-apps/zabbix.nix
···51515252 server = {
5353 port = mkOption {
5454- type = types.int;
5454+ type = types.port;
5555 description = lib.mdDoc "The port of the Zabbix server to connect to.";
5656 default = 10051;
5757 };
···7878 };
79798080 port = mkOption {
8181- type = types.int;
8181+ type = types.port;
8282 default =
8383 if cfg.database.type == "mysql" then config.services.mysql.port
8484 else if cfg.database.type == "pgsql" then config.services.postgresql.port