nix/nixos/common/services/ollama.nix

6 lines
194 B
Nix
Raw Normal View History

2024-01-05 10:54:56 +01:00
{ pkgs, ... }: {
environment.systemPackages = with pkgs; [ ollama ];
networking.firewall.allowedTCPPorts = [ 11434 ];
2024-01-05 10:59:08 +01:00
# TODO: Add SystemD services to start / stop ollama serve
2024-01-05 10:54:56 +01:00
}