summary refs log tree commit diff
path: root/nixos/modules/services/networking/searx.nix
diff options
context:
space:
mode:
authorJoachim Fasting <joachifm@fastmail.fm>2017-03-07 14:01:30 +0100
committerJoachim Fasting <joachifm@fastmail.fm>2017-03-07 14:06:02 +0100
commit540163e4a43f6e4b3bd509d148eedd2e01f8024c (patch)
tree7beec571e77fca2f98c5e0f3a9df2200c5a07b56 /nixos/modules/services/networking/searx.nix
parent9fa7a3adb62845b296b8838f2370303d0f3b7c38 (diff)
downloadnixpkgs-540163e4a43f6e4b3bd509d148eedd2e01f8024c.tar
nixpkgs-540163e4a43f6e4b3bd509d148eedd2e01f8024c.tar.gz
nixpkgs-540163e4a43f6e4b3bd509d148eedd2e01f8024c.tar.bz2
nixpkgs-540163e4a43f6e4b3bd509d148eedd2e01f8024c.tar.lz
nixpkgs-540163e4a43f6e4b3bd509d148eedd2e01f8024c.tar.xz
nixpkgs-540163e4a43f6e4b3bd509d148eedd2e01f8024c.tar.zst
nixpkgs-540163e4a43f6e4b3bd509d148eedd2e01f8024c.zip
search module: add missing types
Diffstat (limited to 'nixos/modules/services/networking/searx.nix')
-rw-r--r--nixos/modules/services/networking/searx.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/modules/services/networking/searx.nix b/nixos/modules/services/networking/searx.nix
index b852e4e6dc8..bb0c2c485f2 100644
--- a/nixos/modules/services/networking/searx.nix
+++ b/nixos/modules/services/networking/searx.nix
@@ -19,6 +19,7 @@ in
     services.searx = {
 
       enable = mkOption {
+        type = types.bool;
         default = false;
         description = "
           Whether to enable the Searx server. See https://github.com/asciimoo/searx
@@ -26,6 +27,7 @@ in
       };
 
       configFile = mkOption {
+        type = types.path;
         default = "";
         description = "
           The path of the Searx server configuration file. If no file
@@ -35,6 +37,7 @@ in
       };
 
       package = mkOption {
+        type = types.package;
         default = pkgs.pythonPackages.searx;
         description = "searx package to use.";
       };