summary refs log tree commit diff
path: root/nixos/modules/services/misc/gitea.nix
diff options
context:
space:
mode:
authorDaniel Nagy <danielnagy@posteo.de>2021-06-18 17:27:06 +0200
committerDaniel Nagy <danielnagy@posteo.de>2021-06-18 17:27:06 +0200
commitab5d317d51564057dd0c3593eaee35d25bcdc281 (patch)
treeef9c12b2b2449c5a0ebbc468c0e0819ef7b6f7b9 /nixos/modules/services/misc/gitea.nix
parent4037c974f5df7941d56375b0591016aaae1d0eb4 (diff)
downloadnixpkgs-ab5d317d51564057dd0c3593eaee35d25bcdc281.tar
nixpkgs-ab5d317d51564057dd0c3593eaee35d25bcdc281.tar.gz
nixpkgs-ab5d317d51564057dd0c3593eaee35d25bcdc281.tar.bz2
nixpkgs-ab5d317d51564057dd0c3593eaee35d25bcdc281.tar.lz
nixpkgs-ab5d317d51564057dd0c3593eaee35d25bcdc281.tar.xz
nixpkgs-ab5d317d51564057dd0c3593eaee35d25bcdc281.tar.zst
nixpkgs-ab5d317d51564057dd0c3593eaee35d25bcdc281.zip
nixos/gitea: use `port` type
Diffstat (limited to 'nixos/modules/services/misc/gitea.nix')
-rw-r--r--nixos/modules/services/misc/gitea.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/misc/gitea.nix b/nixos/modules/services/misc/gitea.nix
index 95369ff7ee4..b6c1ca3e61a 100644
--- a/nixos/modules/services/misc/gitea.nix
+++ b/nixos/modules/services/misc/gitea.nix
@@ -82,7 +82,7 @@ in
         };
 
         port = mkOption {
-          type = types.int;
+          type = types.port;
           default = (if !usePostgresql then 3306 else pg.port);
           description = "Database host port.";
         };