mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-23 01:43:56 -05:00
hwModules: migrate to new APIs
This commit is contained in:
parent
f70d12f1d7
commit
36d1dbce57
|
@ -1,14 +1,18 @@
|
||||||
{...}: {
|
{...}: {
|
||||||
environment.variables.VDPAU_DRIVER = "radeonsi";
|
environment.variables.VDPAU_DRIVER = "radeonsi";
|
||||||
|
|
||||||
hardware.amdgpu = {
|
hardware = {
|
||||||
initrd.enable = true;
|
amdgpu = {
|
||||||
|
initrd.enable = true;
|
||||||
|
|
||||||
amdvlk = {
|
amdvlk = {
|
||||||
enable = true;
|
enable = true;
|
||||||
support32Bit.enable = true;
|
support32Bit.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
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