config | add searxng to fred

This commit is contained in:
Don Harper 2024-10-04 20:29:38 -05:00
parent 7ab68614bb
commit 7336066958
2 changed files with 20 additions and 0 deletions

View file

@ -13,6 +13,7 @@
../server
../themes.nix
./podman.nix
../server/searxng.nix
];
networking.hostName = "fred";
boot.binfmt.emulatedSystems = ["aarch64-linux"];

19
hosts/server/searxng.nix Normal file
View 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";
};
};
};
}