mirror of
https://github.com/XNM1/linux-nixos-hyprland-config-dotfiles.git
synced 2025-09-15 09:45:58 +03:00

Changelog: - Added AI tools and services (Ollama, SearXNG, Open WebUI) - Updated README with AI tools section and improved formatting - Added new Rust tools (`cargo-feature`, `cargo-features-manager`) - Improved virtualisation config with `nvidia-docker` - Added new work tools (`ssm-session-manager-plugin`, `redli`) - Updated Helix, Qutebrowser, and Oterm configs - Added Open WebUI and SearXNG config files
44 lines
1006 B
Nix
44 lines
1006 B
Nix
{ pkgs, config, ... }:
|
|
|
|
{
|
|
|
|
services.ollama = {
|
|
enable = true;
|
|
loadModels = [ "llama3.2:3b" "llama3.2-vision:11b" "phi4:14b" "deepseek-r1:7b" "dolphin3:8b" "smallthinker:3b" "nomic-embed-text" ];
|
|
acceleration = "cuda";
|
|
};
|
|
|
|
services.searx = {
|
|
enable = true;
|
|
settings = {
|
|
server = {
|
|
port = 7777;
|
|
bind_address = "127.0.0.1";
|
|
secret_key = "@SEARX_SECRET_KEY@"; # FIXME: Set up this key in the .env file described below, name of variable `SEARX_SECRET_KEY`
|
|
};
|
|
search = {
|
|
formats = [ "html" "json" ];
|
|
};
|
|
};
|
|
environmentFile = "${config.users.users.xnm.home}/.config/.env.searxng"; # FIXME: The location of the `.env` file where you need to set up the key
|
|
};
|
|
|
|
services.open-webui = {
|
|
enable = true;
|
|
port = 8888;
|
|
host = "127.0.0.1";
|
|
};
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
oterm
|
|
alpaca
|
|
aichat
|
|
aider-chat
|
|
|
|
# tgpt
|
|
# smartcat
|
|
# nextjs-ollama-llm-ui
|
|
# open-webui
|
|
];
|
|
}
|