This commit is contained in:
iFargle 2023-07-15 22:31:06 +09:00
parent 431c4bda88
commit 75beea4e76

View file

@ -19,10 +19,10 @@
opengl.enable = true;
opengl.driSupport32Bit = true;
opengl.driSupport = true;
# opengl.extraPackages = with pkgs; [ nvidia-vaapi-driver ];
opengl.extraPackages = with pkgs; [ nvidia-vaapi-driver ];
nvidia = {
open = false;
open = true;
powerManagement.enable = true;
modesetting.enable = true;
prime = {
@ -36,18 +36,20 @@
};
};
# environment.variables = {
# GBM_BACKEND = "nvidia-drm";
# LIBVA_DRIVER_NAME = "nvidia";
# __GLX_VENDOR_LIBRARY_NAME = "nvidia";
# };
services.xserver.videoDrivers = [ "nvidia" ];
environment.variables = {
GBM_BACKEND = "nvidia-drm";
LIBVA_DRIVER_NAME = "nvidia";
__GLX_VENDOR_LIBRARY_NAME = "nvidia";
};
environment.systemPackages = with pkgs; [
# Fingerprint software
fprintd
# nVidia graphcis options
# vulkan-loader
# vulkan-validation-layers
# vulkan-tools
vulkan-loader
vulkan-validation-layers
vulkan-tools
];
}