diff --git a/modules/hosts/john-p14s/hardware.nix b/modules/hosts/john-p14s/hardware.nix index 4cca7b0..97f70bc 100644 --- a/modules/hosts/john-p14s/hardware.nix +++ b/modules/hosts/john-p14s/hardware.nix @@ -48,5 +48,15 @@ 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 ]; + enable32Bit = true; + }; }; }