This commit is contained in:
parent
bb155a9b07
commit
bb550f9316
|
@ -152,24 +152,27 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
|
||||
programs.corectrl.enable = true;
|
||||
hardware = {
|
||||
opengl = {
|
||||
enable = true;
|
||||
driSupport = true;
|
||||
driSupport32Bit = true;
|
||||
extraPackages = with pkgs; [
|
||||
rocm-opencl-icd
|
||||
rocm-opencl-runtime
|
||||
amdvlk
|
||||
];
|
||||
extraPackages32 = with pkgs; [
|
||||
driversi686Linux.amdvlk
|
||||
];
|
||||
};
|
||||
nvidia = {
|
||||
modesetting.enable = true;
|
||||
nvidiaSettings = true;
|
||||
open = true;
|
||||
package = config.boot.kernelPackages.nvidiaPackages.vulkan_beta;
|
||||
};
|
||||
|
||||
sane.enable = true;
|
||||
sane.extraBackends = [ pkgs.epkowa ];
|
||||
pulseaudio.enable = false;
|
||||
};
|
||||
|
||||
environment.variables.AMD_VULKAN_ICD = "RADV";
|
||||
xdg.portal.enable = true;
|
||||
|
||||
programs = {
|
||||
|
|
Loading…
Reference in a new issue