mirror of
https://github.com/eRgo35/nix-config.git
synced 2026-02-04 08:16:10 +01:00
14
hosts/modules/ollama.nix
Normal file
14
hosts/modules/ollama.nix
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
nixpkgs.config.cudaSupport = true;
|
||||
|
||||
services.ollama = {
|
||||
enable = true;
|
||||
acceleration = "cuda";
|
||||
};
|
||||
|
||||
services.open-webui = {
|
||||
enable = false;
|
||||
host = "0.0.0.0";
|
||||
openFirewall = true;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user