about summary refs log tree commit diff
path: root/nixos/modules/services/search
diff options
context:
space:
mode:
authorDaniel Nagy <danielnagy@posteo.de>2022-11-09 22:30:00 +0100
committerDaniel Nagy <danielnagy@posteo.de>2022-11-10 09:30:00 +0100
commit095269c8622e878eaaac117cc6b63dd1a4970a68 (patch)
treea386280c5393e47ec123a7f3dba08612f264fde5 /nixos/modules/services/search
parentc32d981cdd0835dd847a091c6603630009129f8f (diff)
treewide: use `types.port` in nixos modules
Diffstat (limited to 'nixos/modules/services/search')
-rw-r--r--nixos/modules/services/search/solr.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/search/solr.nix b/nixos/modules/services/search/solr.nix
index 48570412b0c20..05592e9fa247d 100644
--- a/nixos/modules/services/search/solr.nix
+++ b/nixos/modules/services/search/solr.nix
@@ -21,7 +21,7 @@ in
       };
 
       port = mkOption {
-        type = types.int;
+        type = types.port;
         default = 8983;
         description = lib.mdDoc "Port on which Solr is ran.";
       };