From 8e65ddefa49e46e151efb82819fc03a60e4e3708 Mon Sep 17 00:00:00 2001 From: Andre Date: Mon, 6 Jan 2025 20:51:17 +0000 Subject: [PATCH] Hevana: change open-webui save directory to fix a bug --- modules/nixos/services/ollama/default.nix | 2 +- systems/x86_64-linux/Hevana/default.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/nixos/services/ollama/default.nix b/modules/nixos/services/ollama/default.nix index c455d32..130c6b9 100644 --- a/modules/nixos/services/ollama/default.nix +++ b/modules/nixos/services/ollama/default.nix @@ -65,7 +65,7 @@ in SCARF_NO_ANALYTICS = "True"; OLLAMA_BASE_URL = "http://127.0.0.1:${builtins.toString api.port}"; }; - stateDir = cfg.home; + stateDir = cfg.home; # FIXME: complains of a read-only fs when writing to certain directories. The default seems to work. }; nginx.virtualHosts."${cfg.url}" = { diff --git a/systems/x86_64-linux/Hevana/default.nix b/systems/x86_64-linux/Hevana/default.nix index 9be3cc9..7b4f3e1 100644 --- a/systems/x86_64-linux/Hevana/default.nix +++ b/systems/x86_64-linux/Hevana/default.nix @@ -245,7 +245,7 @@ in }; }; open-webui = { - home = "${services-root}/open-webui"; + #home = "${services-root}/open-webui"; enable = true; url = config.${namespace}.secrets.services.open-webui.url; ollama.enable = true;