search module: add missing types

This commit is contained in:
Joachim Fasting 2017-03-07 14:01:30 +01:00
parent 9fa7a3adb6
commit 540163e4a4
No known key found for this signature in database
GPG Key ID: 7544761007FE4E08

View File

@ -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.";
};