nix/nixos/common/services/ollama.nix

6 lines
No EOL
194 B
Nix

{ pkgs, ... }: {
environment.systemPackages = with pkgs; [ ollama ];
networking.firewall.allowedTCPPorts = [ 11434 ];
# TODO: Add SystemD services to start / stop ollama serve
}