Files
AZ-NIX/hosts/common/extraServices/ollama.nix
sascha.koenig 6be5e38021 feat: Add Opencode IDE with AI agents, Beads issue tracking, and STT/PTT
support
- Integrate Opencode terminal IDE with MCP integrations (Ref, Exa,
  Outline)
- Add Beads AI-native issue tracking system (.beads/ + AGENTS.md)
- Implement STT/PTT (speech-to-text push-to-talk) with
  whisper-cpp-vulkan
- Add coding feature module with dev tools (beads, alejandra, bun,
  devpod, nixd)
- Create AZPILOGISTIKTEST host configuration
- Refactor Hyprland windowrules to new match: syntax
- Upgrade nixpkgs/home-manager from 25.05 to 25.11
- Update Ollama to use Vulkan acceleration
- Add lmstudio, rofi-project-opener, and various app updates
- Add outline-key secret and mem0 service configuration

chore: Add Opencode IDE, Beads issue tracking, STT/PTT, and nixpkgs
25.11 upgrade
2026-01-14 12:49:23 +01:00

28 lines
584 B
Nix

{
config,
lib,
pkgs,
...
}:
with lib; let
cfg = config.extraServices.ollama;
in {
options.extraServices.ollama.enable = mkEnableOption "enable ollama";
config = mkIf cfg.enable {
services.ollama = {
enable = true;
package = pkgs.ollama-vulkan;
host = "[::]";
openFirewall = true;
environmentVariables = {
OLLAMA_HOST = "0.0.0.0";
};
};
nixpkgs.config = {
rocmSupport = config.services.xserver.videoDrivers == ["amdgpu"];
cudaSupport = config.services.xserver.videoDrivers == ["nvidia"];
};
};
}