22 lines
346 B
Nix
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;
|
|
};
|
|
}
|