config | add searxng to fred
This commit is contained in:
parent
7ab68614bb
commit
7336066958
2 changed files with 20 additions and 0 deletions
|
|
@ -13,6 +13,7 @@
|
||||||
../server
|
../server
|
||||||
../themes.nix
|
../themes.nix
|
||||||
./podman.nix
|
./podman.nix
|
||||||
|
../server/searxng.nix
|
||||||
];
|
];
|
||||||
networking.hostName = "fred";
|
networking.hostName = "fred";
|
||||||
boot.binfmt.emulatedSystems = ["aarch64-linux"];
|
boot.binfmt.emulatedSystems = ["aarch64-linux"];
|
||||||
|
|
|
||||||
19
hosts/server/searxng.nix
Normal file
19
hosts/server/searxng.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
{
|
||||||
|
pkgs,
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
searxng
|
||||||
|
];
|
||||||
|
services.searx = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
server = {
|
||||||
|
port = 8888;
|
||||||
|
bind_address = "100.72.0.2";
|
||||||
|
secret_key = "hjkjkjdfkjkjdsfhfgjhkjhkjsdhkjh";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue