Remove shitty ollama.

This commit is contained in:
ediblerope 2026-05-13 10:24:14 +01:00
parent 7c1f1501db
commit 34e32e7ce4
5 changed files with 0 additions and 35 deletions

View file

@ -81,7 +81,6 @@ in
{ domain = "torrent.nordhammer.it"; policy = "one_factor"; }
{ domain = "profilarr.nordhammer.it"; policy = "one_factor"; }
{ domain = "sabnzbd.nordhammer.it"; policy = "one_factor"; }
{ domain = "ollama.nordhammer.it"; policy = "one_factor"; }
];
};

View file

@ -114,7 +114,6 @@ in
"adguard.nordhammer.it" = protectedProxy 3000;
"profilarr.nordhammer.it" = protectedProxy 6868;
"sabnzbd.nordhammer.it" = protectedProxy 8085;
"ollama.nordhammer.it" = protectedProxy 8888;
# --- Local-only: serves update history JSON to Homepage's customapi widget ---
"homepage-updates.local" = {

View file

@ -1,31 +0,0 @@
{ config, pkgs, lib, ... }:
{
config = lib.mkIf (config.networking.hostName == "FredOS-Mediaserver") {
services.ollama.enable = true;
services.ollama.host = "0.0.0.0";
networking.firewall.allowedTCPPorts = [ 11434 ];
services.open-webui.enable = true;
services.open-webui.port = 8888;
services.open-webui.environment.WEBUI_AUTH = "False"; # auth handled by Authelia upstream
nixpkgs.overlays = [
(final: prev: {
# We need to reach into the python package set
pythonPackagesExtensions = prev.pythonPackagesExtensions ++ [
(python-final: python-prev: {
langchain = python-prev.langchain.overridePythonAttrs (oldAttrs: {
doCheck = false;
});
})
];
# valkey 8.1.x has a flaky replication integration test that
# fails non-deterministically; skip checks to unblock open-webui.
valkey = prev.valkey.overrideAttrs (oldAttrs: {
doCheck = false;
});
})
];
};
}