about summary refs log tree commit diff
path: root/nixos/modules/services/web-apps/limesurvey.nix
diff options
context:
space:
mode:
authorDaniel Nagy <danielnagy@posteo.de>2022-11-30 17:15:00 +0100
committerDaniel Nagy <danielnagy@posteo.de>2022-12-08 00:00:00 +0100
commitad866e565db95c40ce13bf456a60108f94a5295e (patch)
tree0d8f48caac06af9c10a4d6c6f412d3e24605770c /nixos/modules/services/web-apps/limesurvey.nix
parent5108c96e98d38658e3f8668b5a96461df3c03382 (diff)
downloadnixlib-ad866e565db95c40ce13bf456a60108f94a5295e.tar
nixlib-ad866e565db95c40ce13bf456a60108f94a5295e.tar.gz
nixlib-ad866e565db95c40ce13bf456a60108f94a5295e.tar.bz2
nixlib-ad866e565db95c40ce13bf456a60108f94a5295e.tar.lz
nixlib-ad866e565db95c40ce13bf456a60108f94a5295e.tar.xz
nixlib-ad866e565db95c40ce13bf456a60108f94a5295e.tar.zst
nixlib-ad866e565db95c40ce13bf456a60108f94a5295e.zip
treewide: switch to port type for nixos modules
Diffstat (limited to 'nixos/modules/services/web-apps/limesurvey.nix')
-rw-r--r--nixos/modules/services/web-apps/limesurvey.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/web-apps/limesurvey.nix b/nixos/modules/services/web-apps/limesurvey.nix
index f6a1b5595243..7093d1de0dac 100644
--- a/nixos/modules/services/web-apps/limesurvey.nix
+++ b/nixos/modules/services/web-apps/limesurvey.nix
@@ -49,7 +49,7 @@ in
       };
 
       port = mkOption {
-        type = types.int;
+        type = types.port;
         default = if cfg.database.type == "pgsql" then 5442 else 3306;
         defaultText = literalExpression "3306";
         description = lib.mdDoc "Database host port.";