feat: add amdgpu to hardware
This commit is contained in:
parent
0519deb1ae
commit
56b12e244a
1 changed files with 8 additions and 0 deletions
8
profiles/hardware/amdgpu.nix
Normal file
8
profiles/hardware/amdgpu.nix
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
{ ... }: {
|
||||||
|
boot.initrd.kernelModules = [ "amdgpu" ];
|
||||||
|
|
||||||
|
services.xserver.videoDrivers = [ "amdgpu" ];
|
||||||
|
|
||||||
|
hardware.opengl.driSupport = true;
|
||||||
|
hardware.opengl.driSupport32Bit = true;
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue