20 lines
No EOL
540 B
Nix
20 lines
No EOL
540 B
Nix
{ config, pkgs, lib, ... }:
|
|
{
|
|
config = lib.mkIf (config.networking.hostName == "FredOS-Mediaserver") {
|
|
|
|
services.ollama.enable = true;
|
|
services.ollama.acceleration = "cuda";
|
|
|
|
services.open-webui.enable = true;
|
|
services.open-webui.port = 8888;
|
|
|
|
#testing
|
|
nixpkgs.overlays = [
|
|
(final: prev: {
|
|
valkey = prev.valkey.overrideAttrs (oldAttrs: {
|
|
doCheck = false; # Disables the failing dual channel sync test
|
|
});
|
|
})
|
|
];
|
|
};
|
|
} |