about summary refs log tree commit diff
path: root/configurations
diff options
context:
space:
mode:
authorazahi <azat@bahawi.net>2024-11-30 00:48:38 +0300
committerazahi <azat@bahawi.net>2024-11-30 00:48:38 +0300
commita8129a3084163038029f520d631de2b740b1ea75 (patch)
treecd7ce1d60f8b64ef8648076ea27799049861301d /configurations
parent2024-11-17 (diff)
2024-11-30
Diffstat (limited to '')
-rw-r--r--configurations/eonwe/default.nix8
-rw-r--r--configurations/eonwe/ollama.nix22
2 files changed, 27 insertions, 3 deletions
diff --git a/configurations/eonwe/default.nix b/configurations/eonwe/default.nix
index 9fd4ba2..f1a56e6 100644
--- a/configurations/eonwe/default.nix
+++ b/configurations/eonwe/default.nix
@@ -152,6 +152,14 @@ with lib;
   };
 
   services = {
+    displayManager = {
+      sddm.enable = lib.mkForce false;
+      ly = {
+        enable = true;
+        settings.animation = "matrix";
+      };
+    };
+
     languagetool = {
       enable = true;
       port = 8081;
diff --git a/configurations/eonwe/ollama.nix b/configurations/eonwe/ollama.nix
index a98fb3f..69fa9fd 100644
--- a/configurations/eonwe/ollama.nix
+++ b/configurations/eonwe/ollama.nix
@@ -5,7 +5,9 @@
 }:
 
 {
-  ark.directories = [ config.services.ollama.home ];
+  ark.directories = [
+    config.services.ollama.home
+  ];
 
   hm.programs.firefox.profiles.default.bookmarks = [
     {
@@ -22,7 +24,7 @@
 
   services = {
     ollama = {
-      enable = true;
+      enable = false;
 
       host = "0.0.0.0";
       port = 11434;
@@ -43,8 +45,22 @@
       openFirewall = true;
     };
 
+    open-webui = {
+      enable = false;
+      port = 11436;
+      environment = {
+        ANONYMIZED_TELEMETRY = "False";
+        DO_NOT_TRACK = "True";
+        ENABLE_SIGNUP = "False";
+        OLLAMA_BASE_URL = "http://127.0.0.1:11434";
+        SCARF_NO_ANALYTICS = "True";
+        WEBUI_AUTH = "False";
+        WEBUI_URL = "http://eonwe.shire.net:11436";
+      };
+    };
+
     nextjs-ollama-llm-ui = {
-      enable = true;
+      enable = false;
 
       hostname = "0.0.0.0";
       port = 11435;

Consider giving Nix/NixOS a try! <3