diff --git a/modules/hosts/john-p14s/hardware.nix b/modules/hosts/john-p14s/hardware.nix index d158589..5631613 100644 --- a/modules/hosts/john-p14s/hardware.nix +++ b/modules/hosts/john-p14s/hardware.nix @@ -49,14 +49,11 @@ nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; - hardware.graphics = with pkgs; { - ## amdvlk: an open-source Vulkan driver from AMD - extraPackages = [ - amdvlk - rocmPackages.clr.icd - ]; - extraPackages32 = [ driversi686Linux.amdvlk ]; + hardware.graphics = { + enable = true; enable32Bit = true; + extraPackages = [ pkgs.rocmPackages.clr.icd ]; }; + environment.variables.AMD_VULKAN_ICD = "RADV"; }; }