helix ++ + llm.nx2.site trying
This commit is contained in:
@@ -1,12 +1,16 @@
|
||||
{ config, pkgs, lib, system, user, allowed, secrets, ... }:
|
||||
{ config, pkgs, lib, system, user, host, allowed, secrets, ... }:
|
||||
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
ollama
|
||||
];
|
||||
|
||||
services.ollama.environmentVariables = {
|
||||
OLLAMA_ORIGINS = "*";
|
||||
};
|
||||
|
||||
systemd.services.ollama = {
|
||||
environment.OLLAMA_ORIGINS = "*";
|
||||
description = "Ollama Service";
|
||||
after = [ "network-online.target" "ollama-doesnt-respect-xdg-data-home.service" ];
|
||||
serviceConfig = {
|
||||
@@ -36,4 +40,4 @@
|
||||
chown ollama:ollama -R /usr/share/ollama
|
||||
'';
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user