summary refs log tree commit diff
path: root/nixos/modules/services/databases
diff options
context:
space:
mode:
authorDaniel Nagy <danielnagy@posteo.de>2021-06-18 17:26:55 +0200
committerDaniel Nagy <danielnagy@posteo.de>2021-06-18 17:26:55 +0200
commit4037c974f5df7941d56375b0591016aaae1d0eb4 (patch)
tree3e107114078cc8713ff99523ffc6267dae4fc5c4 /nixos/modules/services/databases
parentd65f16bc025e3c1fd9d2ab799bb02945617d80b4 (diff)
downloadnixpkgs-4037c974f5df7941d56375b0591016aaae1d0eb4.tar
nixpkgs-4037c974f5df7941d56375b0591016aaae1d0eb4.tar.gz
nixpkgs-4037c974f5df7941d56375b0591016aaae1d0eb4.tar.bz2
nixpkgs-4037c974f5df7941d56375b0591016aaae1d0eb4.tar.lz
nixpkgs-4037c974f5df7941d56375b0591016aaae1d0eb4.tar.xz
nixpkgs-4037c974f5df7941d56375b0591016aaae1d0eb4.tar.zst
nixpkgs-4037c974f5df7941d56375b0591016aaae1d0eb4.zip
nixos/mysql: use `port` type
Diffstat (limited to 'nixos/modules/services/databases')
-rw-r--r--nixos/modules/services/databases/mysql.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/databases/mysql.nix b/nixos/modules/services/databases/mysql.nix
index 2d8d613ed88..b801b5cce63 100644
--- a/nixos/modules/services/databases/mysql.nix
+++ b/nixos/modules/services/databases/mysql.nix
@@ -48,7 +48,7 @@ in
       };
 
       port = mkOption {
-        type = types.int;
+        type = types.port;
         default = 3306;
         description = "Port of MySQL.";
       };