nix/nixos/common/services/ollama.nix

6 lines
194 B
Nix
Raw Normal View History

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