Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
ereslibre committed Dec 15, 2024
1 parent 9b3f19d commit 63ca980
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 17 deletions.
21 changes: 4 additions & 17 deletions hulk/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 12 additions & 0 deletions nuc-3/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 63ca980

Please sign in to comment.