Add ollama and webui
This commit is contained in:
@@ -18,6 +18,7 @@
|
|||||||
../modules/matrix.nix
|
../modules/matrix.nix
|
||||||
../modules/kdenlive.nix
|
../modules/kdenlive.nix
|
||||||
../modules/audacity.nix
|
../modules/audacity.nix
|
||||||
|
../modules/ollama.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
|
|||||||
10
systems/modules/ollama.nix
Normal file
10
systems/modules/ollama.nix
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
services.ollama = {
|
||||||
|
enable = true;
|
||||||
|
package = pkgs.ollama-cuda;
|
||||||
|
};
|
||||||
|
|
||||||
|
services.open-webui.enable = true;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user