Maybe fix failing dependency?
This commit is contained in:
parent
f202e7001e
commit
27be8e3452
1 changed files with 10 additions and 5 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
{
|
||||
config = lib.mkIf (config.networking.hostName == "FredOS-Mediaserver") {
|
||||
config = lib.mkIf (config.networking.hostName == "FredOS-Mediaserver") {
|
||||
|
||||
services.ollama.enable = true;
|
||||
services.ollama.acceleration = "cuda";
|
||||
|
|
@ -8,12 +8,17 @@
|
|||
services.open-webui.enable = true;
|
||||
services.open-webui.port = 8888;
|
||||
|
||||
#testing
|
||||
nixpkgs.overlays = [
|
||||
(final: prev: {
|
||||
valkey = prev.valkey.overrideAttrs (oldAttrs: {
|
||||
doCheck = false;
|
||||
});
|
||||
# We need to reach into the python package set
|
||||
pythonPackagesExtensions = prev.pythonPackagesExtensions ++ [
|
||||
(python-final: python-prev: {
|
||||
langchain = python-prev.langchain.overridePythonAttrs (oldAttrs: {
|
||||
# This disables the checkPhase (running tests) for langchain
|
||||
doCheck = false;
|
||||
});
|
||||
})
|
||||
];
|
||||
})
|
||||
];
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue