add: ollama waybar integration, modified cloud config to add ollama systemd service
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user