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 = {
|
||||
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
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