From c73a058f5bfc255b67e944ef053f952a90178496 Mon Sep 17 00:00:00 2001 From: Brian Lee Date: Thu, 5 Dec 2024 10:18:13 -0800 Subject: [PATCH] litten: minor cleanup --- litten.brenise.dev/configuration.nix | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) 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"; };