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:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user