Add of vaulwarden

Some refractoring and start of a more versatil config
This commit is contained in:
Wateir 2025-12-17 23:11:49 +01:00
parent 372b6bc4bb
commit d4d7073344
6 changed files with 96 additions and 33 deletions

View file

@ -1,11 +1,11 @@
{ config,lib,pkgs, ... }:
{
services = {
searx = {
lib.mkIf (config.networking.hostName == "ThinkCentre-Server-004"){
services.searx = {
enable = true;
redisCreateLocally = true;
package = pkgs.searxng;
environmentFile = "/etc/searx.env";
settings.server = {
bind_address = "0.0.0.0";
@ -14,6 +14,8 @@
# see below for the sops or environment file instructions to prevent this
# secret_key = "$SEARXNG_SECRET";
};
settings.engines = lib.mapAttrsToList (name: value: { inherit name; } // value) {
"wikidata".disabled = true;
};
};
};
}