From 540163e4a43f6e4b3bd509d148eedd2e01f8024c Mon Sep 17 00:00:00 2001 From: Joachim Fasting Date: Tue, 7 Mar 2017 14:01:30 +0100 Subject: [PATCH] search module: add missing types --- nixos/modules/services/networking/searx.nix | 3 +++ 1 file changed, 3 insertions(+) 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."; };