feat: abstract out gpu elements
This commit is contained in:
parent
7bc0a2c88b
commit
340c5d6f25
5 changed files with 24 additions and 6 deletions
7
profiles/hardware/gpu/amdgpu.nix
Normal file
7
profiles/hardware/gpu/amdgpu.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{ ... }: {
|
||||
imports = [ ./common.nix ];
|
||||
|
||||
boot.initrd.kernelModules = [ "amdgpu" ];
|
||||
|
||||
services.xserver.videoDrivers = [ "amdgpu" ];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue