changes saved (doesnt built)

This commit is contained in:
Lennart J. Kurzweg (Nx2)
2024-07-20 21:23:47 +02:00
parent 70b3d92fb1
commit dffd47fa94
11 changed files with 113 additions and 77 deletions

View File

@@ -1,7 +1,7 @@
{ pkgs, lib, host, nvidia, ... }:
{ pkgs, pkgs-unstable, lib, host, nvidia, ... }:
{
environment.systemPackages = with pkgs; [
environment.systemPackages = with pkgs-unstable; [
ollama
];
@@ -41,6 +41,7 @@
# '';
# };
services.ollama = {
# package = pkgs-unstable.ollama;
enable = true;
acceleration = lib.mkIf nvidia.enable "cuda";
listenAddress = if host == "NxACE" then "0.0.0.0:11434" else "127.0.0.1:11434";