add: ollama waybar integration, modified cloud config to add ollama systemd service

This commit is contained in:
2026-10-18 18:28:30 -04:00
parent 81cec030dc
commit 9ab3fb373a
5 changed files with 48 additions and 2 deletions
+12
View File
@@ -86,6 +86,18 @@ in {
vlc
];
systemd.user.services.ollama = {
description = "Ollama local AI server";
serviceConfig = {
ExecStart = "${pkgs.ollama-rocm}/bin/ollama serve";
Restart = "on-failure";
Environment = [
"OLLAMA_HOST=0.0.0.0:11434"
"OLLAMA_CONTEXT_LENGTH=64000"
];
};
};
# Enable Polkit
security.polkit.enable = true;