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:
parent
1f2699e6b3
commit
30736fc47b
1 changed files with 9 additions and 5 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue