Remove shitty ollama.
This commit is contained in:
parent
7c1f1501db
commit
34e32e7ce4
5 changed files with 0 additions and 35 deletions
|
|
@ -40,7 +40,6 @@
|
||||||
./services/crowdsec.nix
|
./services/crowdsec.nix
|
||||||
./services/sabnzbd.nix
|
./services/sabnzbd.nix
|
||||||
./services/forgejo-runner.nix
|
./services/forgejo-runner.nix
|
||||||
./services/ollama.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
### Make build time quicker
|
### Make build time quicker
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,6 @@
|
||||||
matugen
|
matugen
|
||||||
usbutils
|
usbutils
|
||||||
lm_sensors
|
lm_sensors
|
||||||
vscodium
|
|
||||||
(pkgs.writeShellScriptBin "transcode-hevc" ''
|
(pkgs.writeShellScriptBin "transcode-hevc" ''
|
||||||
export PATH="${pkgs.jellyfin-ffmpeg}/bin:${pkgs.coreutils}/bin:${pkgs.findutils}/bin:${pkgs.gnugrep}/bin:${pkgs.gawk}/bin:${pkgs.bc}/bin:${pkgs.curl}/bin:$PATH"
|
export PATH="${pkgs.jellyfin-ffmpeg}/bin:${pkgs.coreutils}/bin:${pkgs.findutils}/bin:${pkgs.gnugrep}/bin:${pkgs.gawk}/bin:${pkgs.bc}/bin:${pkgs.curl}/bin:$PATH"
|
||||||
exec ${pkgs.bash}/bin/bash ${../scripts/transcode-hevc.sh} "$@"
|
exec ${pkgs.bash}/bin/bash ${../scripts/transcode-hevc.sh} "$@"
|
||||||
|
|
|
||||||
|
|
@ -81,7 +81,6 @@ in
|
||||||
{ domain = "torrent.nordhammer.it"; policy = "one_factor"; }
|
{ domain = "torrent.nordhammer.it"; policy = "one_factor"; }
|
||||||
{ domain = "profilarr.nordhammer.it"; policy = "one_factor"; }
|
{ domain = "profilarr.nordhammer.it"; policy = "one_factor"; }
|
||||||
{ domain = "sabnzbd.nordhammer.it"; policy = "one_factor"; }
|
{ domain = "sabnzbd.nordhammer.it"; policy = "one_factor"; }
|
||||||
{ domain = "ollama.nordhammer.it"; policy = "one_factor"; }
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -114,7 +114,6 @@ in
|
||||||
"adguard.nordhammer.it" = protectedProxy 3000;
|
"adguard.nordhammer.it" = protectedProxy 3000;
|
||||||
"profilarr.nordhammer.it" = protectedProxy 6868;
|
"profilarr.nordhammer.it" = protectedProxy 6868;
|
||||||
"sabnzbd.nordhammer.it" = protectedProxy 8085;
|
"sabnzbd.nordhammer.it" = protectedProxy 8085;
|
||||||
"ollama.nordhammer.it" = protectedProxy 8888;
|
|
||||||
|
|
||||||
# --- Local-only: serves update history JSON to Homepage's customapi widget ---
|
# --- Local-only: serves update history JSON to Homepage's customapi widget ---
|
||||||
"homepage-updates.local" = {
|
"homepage-updates.local" = {
|
||||||
|
|
|
||||||
|
|
@ -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;
|
|
||||||
});
|
|
||||||
})
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue