From 56b12e244ab3d8d91e2e8ce2a191e7236217ff14 Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Fri, 10 Sep 2021 09:19:27 -0400 Subject: [PATCH] feat: add amdgpu to hardware --- profiles/hardware/amdgpu.nix | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 profiles/hardware/amdgpu.nix diff --git a/profiles/hardware/amdgpu.nix b/profiles/hardware/amdgpu.nix new file mode 100644 index 0000000..6895a9b --- /dev/null +++ b/profiles/hardware/amdgpu.nix @@ -0,0 +1,8 @@ +{ ... }: { + boot.initrd.kernelModules = [ "amdgpu" ]; + + services.xserver.videoDrivers = [ "amdgpu" ]; + + hardware.opengl.driSupport = true; + hardware.opengl.driSupport32Bit = true; +}