feat: install llama.cpp with vulkan support only
This commit is contained in:
parent
0225ae25aa
commit
14fb167972
@ -84,6 +84,7 @@ in
|
|||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
devenv
|
devenv
|
||||||
|
llama-cpp
|
||||||
nh
|
nh
|
||||||
nix-diff
|
nix-diff
|
||||||
nix-update
|
nix-update
|
||||||
|
@ -15,6 +15,18 @@ in
|
|||||||
hyprlandUnstable = unstable.hyprland;
|
hyprlandUnstable = unstable.hyprland;
|
||||||
hyprlandPortalUnstable = unstable.xdg-desktop-portal-hyprland;
|
hyprlandPortalUnstable = unstable.xdg-desktop-portal-hyprland;
|
||||||
intel-vaapi-driver = prev.intel-vaapi-driver.override { enableHybridCodec = true; };
|
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;
|
mesaUnstable = unstable.mesa;
|
||||||
mesaUnstablei686 = unstable.driversi686Linux.mesa;
|
mesaUnstablei686 = unstable.driversi686Linux.mesa;
|
||||||
# nix-alien = inputs.nix-alien.packages.${system}.nix-alien;
|
# nix-alien = inputs.nix-alien.packages.${system}.nix-alien;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user