feat: install llama.cpp with vulkan support only

This commit is contained in:
Dmitriy Kholkin 2025-07-04 14:30:18 +03:00
parent 0225ae25aa
commit 14fb167972
Signed by: AtaraxiaDev
GPG Key ID: FD266B810DF48DF2
2 changed files with 13 additions and 0 deletions

View File

@ -84,6 +84,7 @@ in
home.packages = with pkgs; [
devenv
llama-cpp
nh
nix-diff
nix-update

View File

@ -15,6 +15,18 @@ in
hyprlandUnstable = unstable.hyprland;
hyprlandPortalUnstable = unstable.xdg-desktop-portal-hyprland;
intel-vaapi-driver = prev.intel-vaapi-driver.override { enableHybridCodec = true; };
llama-cpp =
(prev.llama-cpp.override {
blasSupport = false;
cudaSupport = false;
openclSupport = false;
rocmSupport = false;
rpcSupport = false;
vulkanSupport = true;
}).overrideAttrs
(_: {
enableParallelBuilding = true;
});
mesaUnstable = unstable.mesa;
mesaUnstablei686 = unstable.driversi686Linux.mesa;
# nix-alien = inputs.nix-alien.packages.${system}.nix-alien;