search module: add missing types
This commit is contained in:
parent
9fa7a3adb6
commit
540163e4a4
@ -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.";
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user