diff --git a/nix/hosts/desktop/configuration.nix b/nix/hosts/desktop/configuration.nix index cf5e5569..97e812f8 100644 --- a/nix/hosts/desktop/configuration.nix +++ b/nix/hosts/desktop/configuration.nix @@ -231,13 +231,16 @@ wrapperFeatures.gtk = true; }; - hardware.graphics = { - # radv: an open-source Vulkan driver from freedesktop - enable32Bit = true; + hardware = { + graphics = { + enable = true; + enable32Bit = true; + }; - # amdvlk: an open-source Vulkan driver from AMD - extraPackages = [ pkgs.amdvlk ]; - extraPackages32 = [ pkgs.driversi686Linux.amdvlk ]; + amdgpu.amdvlk = { + enable = true; + support32Bit.enable = true; + }; }; # Environment variables