Update how amdvlk is installed to more modern option

This commit is contained in:
BuyMyMojo 2025-03-30 00:13:45 +11:00
parent 30765ff3c4
commit 41f670b2bb
Signed by untrusted user who does not match committer: aria
GPG key ID: 19AB7AA462B8AB3B
2 changed files with 6 additions and 6 deletions

View file

@ -327,6 +327,7 @@
environment.sessionVariables = {
# === Prefer RADV driver ===
AMD_VULKAN_ICD = "RADV";
VK_ICD_FILENAMES = "/run/opengl-driver/share/vulkan/icd.d/radeon_icd.x86_64.json";
FLAKE = "/home/buymymojo/etc/nixos/";

View file

@ -200,12 +200,11 @@
# === vulkan/mesa ===
# === amdvlk driver ===
extraPackages = with pkgs; [
amdvlk
];
extraPackages32 = with pkgs; [
driversi686Linux.amdvlk
];
};
amdgpu.amdvlk = {
enable = true;
support32Bit.enable = true;
};
# === amdvlk driver ===
};