summary refs log tree commit diff
path: root/host/Rory-portable/ollama.nix
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2024-08-08 03:50:02 +0200
committerRory& <root@rory.gay>2024-08-08 03:51:45 +0200
commitff65c8e951092d4d7caed1c4d02c9e141df7799b (patch)
treef8bd40da8fd80021a7452723a32cddaec8d45de6 /host/Rory-portable/ollama.nix
parentServer config cleanup (diff)
downloadRory-Open-Architecture-ff65c8e951092d4d7caed1c4d02c9e141df7799b.tar.xz
Imports cleanup
Diffstat (limited to 'host/Rory-portable/ollama.nix')
-rwxr-xr-xhost/Rory-portable/ollama.nix22
1 files changed, 0 insertions, 22 deletions
diff --git a/host/Rory-portable/ollama.nix b/host/Rory-portable/ollama.nix
deleted file mode 100755
index 0c72b85..0000000
--- a/host/Rory-portable/ollama.nix
+++ /dev/null
@@ -1,22 +0,0 @@
-{
-  config,
-  pkgs,
-  lib,
-  ...
-}:
-
-{
-  services.ollama = {
-    enable = true;
-    home = "/data/ollama/home";
-    models = "/data/ollama/home/models";
-    environmentVariables = {
-      OLLAMA_LLM_LIBRARY = "cpu_avx2";
-    };
-    writablePaths = [ "/data/ollama/home" ];
-    #listenAddress = "0.0.0.0:11434";
-    host = "0.0.0.0";
-    port = 11434;
-    sandbox = false;
-  };
-}