From 63ca9805d3260fe73f7a0a7013620a7a40dc75ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Fern=C3=A1ndez=20L=C3=B3pez?= Date: Sun, 15 Dec 2024 12:53:21 +0100 Subject: [PATCH] Update --- hulk/configuration.nix | 21 ++++----------------- nuc-3/configuration.nix | 12 ++++++++++++ 2 files changed, 16 insertions(+), 17 deletions(-) diff --git a/hulk/configuration.nix b/hulk/configuration.nix index cf4ef1e7..f31cc881 100644 --- a/hulk/configuration.nix +++ b/hulk/configuration.nix @@ -30,23 +30,10 @@ !include ${config.sops.secrets.nix-access-tokens.path} ''; - services = { - ollama = { - enable = true; - host = "0.0.0.0"; - loadModels = ["qwen2.5-coder:32b"]; - }; - open-webui = { - enable = true; - host = "0.0.0.0"; - environment = { - OLLAMA_API_BASE_URL = "http://127.0.0.1:11434"; - WEBUI_AUTH = "False"; - ANONYMIZED_TELEMETRY = "False"; - DO_NOT_TRACK = "True"; - SCARF_NO_ANALYTICS = "True"; - }; - }; + services.ollama = { + enable = true; + host = "0.0.0.0"; + loadModels = ["qwen2.5-coder:32b"]; }; # This value determines the NixOS release from which the default diff --git a/nuc-3/configuration.nix b/nuc-3/configuration.nix index 2b803ae6..8eb8b378 100644 --- a/nuc-3/configuration.nix +++ b/nuc-3/configuration.nix @@ -32,6 +32,18 @@ }; }; + services.open-webui = { + enable = true; + host = "0.0.0.0"; + environment = { + OLLAMA_API_BASE_URL = "http://hulk.ereslibre.net:11434"; + WEBUI_AUTH = "False"; + ANONYMIZED_TELEMETRY = "False"; + DO_NOT_TRACK = "True"; + SCARF_NO_ANALYTICS = "True"; + }; + }; + services.matrix-synapse = { extraConfigFiles = [ config.sops.secrets."matrix-synapse-registration-shared-secret.yaml".path