added searxng
This commit is contained in:
parent
82a9b3993f
commit
60a323c106
2 changed files with 18 additions and 4 deletions
|
|
@ -13,10 +13,8 @@
|
||||||
options = {
|
options = {
|
||||||
enableBookUploading = false;
|
enableBookUploading = false;
|
||||||
enableBookConversion = true;
|
enableBookConversion = true;
|
||||||
# No " " around absolute path
|
calibreLibrary ="/mnt/plakias/enc/books";
|
||||||
# Make sure a calibre library .db file is in this folder
|
# calibreLibrary ="/home/elias/nixos-knossos/books";
|
||||||
# Example file: https://github.com/janeczku/calibre-web/raw/master/library/metadata.db
|
|
||||||
calibreLibrary ="/home/elias/nixos-knossos/books";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
16
services/searxng.nix
Normal file
16
services/searxng.nix
Normal 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#*@)$)*";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue