changes saved (doesnt built)
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user