feat: added amdgpu settings
This commit is contained in:
parent
9d4e4d1159
commit
81153cc040
1 changed files with 17 additions and 0 deletions
|
|
@ -40,5 +40,22 @@
|
|||
openrgb-with-all-plugins
|
||||
];
|
||||
|
||||
# amd radeon gpu drivers and software
|
||||
# https://nixos.wiki/wiki/AMD_GPU
|
||||
|
||||
boot = {
|
||||
# load amdgpu driver pre boot
|
||||
initrd.kernelModules = [ "amdgpu" ];
|
||||
#exposes gpu driver
|
||||
kernelModules = [ "amdgpu" ];
|
||||
};
|
||||
|
||||
hardware = {
|
||||
# discrete graphics support
|
||||
graphics.enable = true;
|
||||
# fixes early video issues
|
||||
amdgpu.initrd.enable = true;
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue