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 = { services.searx = {
enable = mkOption { enable = mkOption {
type = types.bool;
default = false; default = false;
description = " description = "
Whether to enable the Searx server. See https://github.com/asciimoo/searx Whether to enable the Searx server. See https://github.com/asciimoo/searx
@ -26,6 +27,7 @@ in
}; };
configFile = mkOption { configFile = mkOption {
type = types.path;
default = ""; default = "";
description = " description = "
The path of the Searx server configuration file. If no file The path of the Searx server configuration file. If no file
@ -35,6 +37,7 @@ in
}; };
package = mkOption { package = mkOption {
type = types.package;
default = pkgs.pythonPackages.searx; default = pkgs.pythonPackages.searx;
description = "searx package to use."; description = "searx package to use.";
}; };