adding nvidia and removing amd
This commit is contained in:
parent
cbd67c8744
commit
c9346ceb76
|
@ -27,16 +27,18 @@
|
|||
'';
|
||||
};
|
||||
|
||||
hardware.opengl = {
|
||||
services.xserver.videoDrivers = [ "nvidia" ];
|
||||
hardware = {
|
||||
opengl = {
|
||||
enable = true;
|
||||
extraPackages = with pkgs; [
|
||||
intel-media-driver
|
||||
vaapiIntel
|
||||
vaapiVdpau
|
||||
libvdpau-va-gl
|
||||
rocm-opencl-icd
|
||||
rocm-opencl-runtime
|
||||
amdvlk
|
||||
# rocm-opencl-icd
|
||||
# rocm-opencl-runtime
|
||||
# amdvlk
|
||||
];
|
||||
driSupport = lib.mkDefault true;
|
||||
driSupport32Bit = lib.mkDefault true;
|
||||
|
@ -45,7 +47,13 @@
|
|||
#];
|
||||
};
|
||||
|
||||
environment.variables.AMD_VULKAN_ICD = lib.mkDefault "RADV";
|
||||
nvidia = {
|
||||
package = config.boot.kernelPackages.nvidiaPackages.beta;
|
||||
modesetting.enable = true;
|
||||
};
|
||||
}
|
||||
|
||||
# environment.variables.AMD_VULKAN_ICD = lib.mkDefault "RADV";
|
||||
|
||||
# CADDY
|
||||
services.caddy = {
|
||||
|
|
Loading…
Reference in a new issue