add ollama

This commit is contained in:
cswimr 2025-01-29 06:00:44 -06:00
parent 4552091782
commit c4db0959a2
Signed by: cswimr
GPG key ID: 0EC431A8DA8F8087
2 changed files with 10 additions and 0 deletions

View file

@ -84,6 +84,7 @@
./nixos/gui-pkgs.nix
./nixos/nvidia.nix
./nixos/nvim.nix
./nixos/ollama.nix
./nixos/pkg.nix
./nixos/shell.nix
./nixos/sops.nix

9
nixos/ollama.nix Normal file
View file

@ -0,0 +1,9 @@
{
services.ollama = {
enable = true;
loadModels = [
"deepseek-r1:1.5b"
];
};
services.open-webui.enable = true;
}