litten: minor cleanup

This commit is contained in:
Brian Lee 2024-12-05 10:18:13 -08:00
parent 0e0a18c078
commit c73a058f5b

View File

@ -142,7 +142,6 @@ in
python311 python311
python311Packages.pip python311Packages.pip
python311Packages.ipython python311Packages.ipython
# python311Packages.jmespath # for Ansible playbooks with json_query (grafana, caddy)
libreoffice-qt libreoffice-qt
hunspell hunspell
hunspellDicts.uk_UA hunspellDicts.uk_UA
@ -194,6 +193,7 @@ in
jq jq
lego lego
libressl libressl
lm_sensors
mediainfo mediainfo
net-snmp # snmpwalk net-snmp # snmpwalk
netcat netcat
@ -280,6 +280,11 @@ in
enable = true; enable = true;
extraOpts = { extraOpts = {
"SpellcheckEnabled" = false; "SpellcheckEnabled" = false;
"DefaultSearchProviderEnabled" = true;
"DefaultSearchProviderName" = "Kagi";
"DefaultSearchProviderSearchURL" = "https://kagi.com/search?q={searchTerms}";
"SearchSuggestEnabled" = false;
"DefaultSearchProviderSuggestURL" = "";
}; };
}; };
}; };
@ -295,10 +300,10 @@ in
} }
]; ];
}; };
pki.certificateFiles = [ # pki.certificateFiles = [
"${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt" # "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"
# "/etc/ssl/certs/dotted-turbans.pem" # # "/etc/ssl/certs/dotted-turbans.pem"
]; # ];
}; };
services = { services = {
@ -456,7 +461,7 @@ in
# }; # };
# }; # };
services.ollama-webui = { services.open-webui = {
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
after = [ "network.target" ]; after = [ "network.target" ];
serviceConfig = { serviceConfig = {
@ -464,7 +469,6 @@ in
User = "blee"; User = "blee";
WorkingDirectory = "/opt/open-webui"; 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"; 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"; script = "${pkgs.nix}/bin/nix-shell";
}; };