added searxng

This commit is contained in:
Elias Gasparis 2026-03-30 16:02:55 +08:00
commit 60a323c106
2 changed files with 18 additions and 4 deletions

View file

@ -13,10 +13,8 @@
options = {
enableBookUploading = false;
enableBookConversion = true;
# No " " around absolute path
# Make sure a calibre library .db file is in this folder
# Example file: https://github.com/janeczku/calibre-web/raw/master/library/metadata.db
calibreLibrary ="/home/elias/nixos-knossos/books";
calibreLibrary ="/mnt/plakias/enc/books";
# calibreLibrary ="/home/elias/nixos-knossos/books";
};
};

16
services/searxng.nix Normal file
View file

@ -0,0 +1,16 @@
{ config, pkgs, ... }:
{
services.searx = {
enable = true;
redisCreateLocally = true;
settings.server = {
bind_address = "::1";
port = 8080;
# WARNING: setting secret_key here might expose it to the nix cache
# see below for the sops or environment file instructions to prevent this
secret_key = "asdfkljlksjd38107e17u00d28481#*@)$)*";
};
};
}