diff --git a/litten.brenise.dev/configuration.nix b/litten.brenise.dev/configuration.nix index 16c649a..b711743 100644 --- a/litten.brenise.dev/configuration.nix +++ b/litten.brenise.dev/configuration.nix @@ -142,7 +142,6 @@ in python311 python311Packages.pip python311Packages.ipython - # python311Packages.jmespath # for Ansible playbooks with json_query (grafana, caddy) libreoffice-qt hunspell hunspellDicts.uk_UA @@ -194,6 +193,7 @@ in jq lego libressl + lm_sensors mediainfo net-snmp # snmpwalk netcat @@ -280,6 +280,11 @@ in enable = true; extraOpts = { "SpellcheckEnabled" = false; + "DefaultSearchProviderEnabled" = true; + "DefaultSearchProviderName" = "Kagi"; + "DefaultSearchProviderSearchURL" = "https://kagi.com/search?q={searchTerms}"; + "SearchSuggestEnabled" = false; + "DefaultSearchProviderSuggestURL" = ""; }; }; }; @@ -295,10 +300,10 @@ in } ]; }; - pki.certificateFiles = [ - "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt" - # "/etc/ssl/certs/dotted-turbans.pem" - ]; +# pki.certificateFiles = [ +# "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt" +# # "/etc/ssl/certs/dotted-turbans.pem" +# ]; }; services = { @@ -456,7 +461,7 @@ in # }; # }; - services.ollama-webui = { + services.open-webui = { wantedBy = [ "multi-user.target" ]; after = [ "network.target" ]; serviceConfig = { @@ -464,7 +469,6 @@ in User = "blee"; WorkingDirectory = "/opt/open-webui"; Environment = "NIX_PATH=nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos:nixos-config=/etc/nixos/configuration.nix:/nix/var/nix/profiles/per-user/root/channels"; - # ExecStart = "${pkgs.nix}/bin/nix-shell"; }; script = "${pkgs.nix}/bin/nix-shell"; };