homelab/hosts/sin/ollama.nix
Awen Lelu 1a80911b3f
Some checks are pending
/ perform flake analysis (push) Successful in 35s
/ build hive configuration (push) Has started running
added ollama service
2025-11-21 21:04:05 +01:00

22 lines
346 B
Nix

{ inputs, ... }:
{
# virtualisation.docker = {
# enable = true;
# storageDriver = "btrfs";
# };
services.ollama = {
enable = true;
openFirewall = true;
loadModels = [ ];
acceleration = "cuda";
};
services.open-webui = {
enable = true;
openFirewall = true;
host = "0.0.0.0";
port = 8050;
};
}