From ec66f9013719818c2c115e322d45fa4b223b8a86 Mon Sep 17 00:00:00 2001 From: Charlotte Delenk Date: Fri, 8 Nov 2024 17:46:23 +0100 Subject: [PATCH] add radv and amdvlk --- machine/rainbow-resort/hardware.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/machine/rainbow-resort/hardware.nix b/machine/rainbow-resort/hardware.nix index a6528c87..860439e7 100644 --- a/machine/rainbow-resort/hardware.nix +++ b/machine/rainbow-resort/hardware.nix @@ -43,5 +43,14 @@ "gccarch-skylake-avx512" "ca-derivations" ]; + hardware.opengl = { + ## radv: an open-source Vulkan driver from freedesktop + driSupport = true; + driSupport32Bit = true; + + ## amdvlk: an open-source Vulkan driver from AMD + extraPackages = [ pkgs.amdvlk ]; + extraPackages32 = [ pkgs.driversi686Linux.amdvlk ]; + }; }