0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

nixos/amdvlk: enable 32 bit drivers properly

Closes https://github.com/NixOS/nixpkgs/issues/395087

Signed-off-by: John Titor <50095635+JohnRTitor@users.noreply.github.com>
This commit is contained in:
John Titor 2025-04-01 14:37:15 +05:30 committed by Masum Reza
parent 1f2699e6b3
commit 30736fc47b

View file

@ -37,11 +37,15 @@ in
};
config = lib.mkIf cfg.enable {
hardware.graphics = {
enable = true;
extraPackages = [ cfg.package ];
extraPackages32 = [ cfg.support32Bit.package ];
};
hardware.graphics =
{
enable = true;
extraPackages = [ cfg.package ];
}
// lib.optionalAttrs cfg.support32Bit.enable {
enable32Bit = true;
extraPackages32 = [ cfg.support32Bit.package ];
};
environment.sessionVariables = lib.mkIf cfg.supportExperimental.enable {
AMDVLK_ENABLE_DEVELOPING_EXT = "all";