1
0
mirror of https://github.com/XNM1/linux-nixos-hyprland-config-dotfiles.git synced 2025-09-15 09:45:58 +03:00
Files
linux-nixos-hyprland-config…/nixos/llm.nix
xnm ff45ab768d feat(config): 🔧 Update model configuration and system packages
- Changed default model from `moonshot/kimi-k2-0711-preview` to
`z/glm-4.5`
- Added new provider configuration for Z AI with GLM-4.5 model
- Added hyprpolkitagent to Hyprland packages
- Updated Ollama models list (removed some Gemma models, added
qwen3-coder)
- Added chromium and playwright to system packages
2025-08-03 16:00:47 +03:00

55 lines
1.1 KiB
Nix

{ pkgs, config, ... }:
{
services.ollama = {
enable = true;
loadModels = [ "llama3.2:3b" "phi4-reasoning:14b" "dolphin3:8b" "smallthinker:3b" "gemma3n:e4b" "deepcoder:14b" "qwen3:14b" "qwen3-coder:30b" "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.n8n = {
enable = true;
};
services.open-webui = {
enable = true;
port = 8888;
host = "127.0.0.1";
};
environment.systemPackages = with pkgs; [
oterm
alpaca
aichat
fabric-ai
aider-chat
opencode
# tgpt
# smartcat
# nextjs-ollama-llm-ui
# open-webui
chromium
playwright
];
}