mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
messing with website
locked papermc added searxng enabled website
This commit is contained in:
parent
f8c13c04b9
commit
164cdd85a0
8 changed files with 177 additions and 97 deletions
34
hosts/gerg-desktop/searxng.nix
Normal file
34
hosts/gerg-desktop/searxng.nix
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
_: {
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
sops.secrets.searxngenv = {};
|
||||
services.searx = {
|
||||
enable = true;
|
||||
runInUwsgi = false;
|
||||
package = pkgs.searxng;
|
||||
environmentFile = config.sops.secrets.searxngenv.path;
|
||||
settings = {
|
||||
server = {
|
||||
port = 8765;
|
||||
secret_key = "@SEARXNG_SECRET@";
|
||||
};
|
||||
search.formats = [
|
||||
"html"
|
||||
"json"
|
||||
];
|
||||
engines = [
|
||||
{
|
||||
name = "bing";
|
||||
disabled = true;
|
||||
}
|
||||
{
|
||||
name = "brave";
|
||||
disabled = true;
|
||||
}
|
||||
];
|
||||
ui.theme_args.simple_style = "dark";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue