added ollama service
Some checks are pending
/ perform flake analysis (push) Successful in 35s
/ build hive configuration (push) Has started running

This commit is contained in:
Awen Lelu 2025-11-21 21:04:05 +01:00
parent ddf12655bc
commit 1a80911b3f

21
hosts/sin/ollama.nix Normal file
View File

@ -0,0 +1,21 @@
{ 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;
};
}