test
This commit is contained in:
parent
431c4bda88
commit
75beea4e76
1 changed files with 12 additions and 10 deletions
|
@ -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
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue