mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-23 05:43:55 -05:00
hwModules: migrate to new APIs
This commit is contained in:
parent
f70d12f1d7
commit
36d1dbce57
|
@ -1,7 +1,8 @@
|
||||||
{...}: {
|
{...}: {
|
||||||
environment.variables.VDPAU_DRIVER = "radeonsi";
|
environment.variables.VDPAU_DRIVER = "radeonsi";
|
||||||
|
|
||||||
hardware.amdgpu = {
|
hardware = {
|
||||||
|
amdgpu = {
|
||||||
initrd.enable = true;
|
initrd.enable = true;
|
||||||
|
|
||||||
amdvlk = {
|
amdvlk = {
|
||||||
|
@ -11,4 +12,7 @@
|
||||||
|
|
||||||
opencl.enable = true;
|
opencl.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
graphics.enable = true;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
hardware = {
|
hardware = {
|
||||||
intel-gpu-tools.enable = true;
|
intel-gpu-tools.enable = true;
|
||||||
|
|
||||||
opengl = {
|
graphics = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
extraPackages = [
|
extraPackages = [
|
||||||
|
|
Loading…
Reference in a new issue