more nvidia changes

This commit is contained in:
cnst
2024-08-18 21:12:11 +02:00
parent 61920f27c5
commit 4d0f8563ce
4 changed files with 4 additions and 3 deletions

View File

@@ -13,7 +13,6 @@
packages = with pkgs; [ packages = with pkgs; [
# user specific pkgs # user specific pkgs
filezilla filezilla
egl-wayland
]; ];
sessionVariables = { sessionVariables = {
BROWSER = "firefox"; BROWSER = "firefox";
@@ -23,7 +22,7 @@
STEAM_EXTRA_COMPAT_TOOLS_PATHS = "/home/toothpick/.steam/root/compatibilitytools.d"; # proton and steam compat STEAM_EXTRA_COMPAT_TOOLS_PATHS = "/home/toothpick/.steam/root/compatibilitytools.d"; # proton and steam compat
LIBVA_DRIVER_NAME = "nvidia"; LIBVA_DRIVER_NAME = "nvidia";
XDG_SESSION_TYPE = "wayland"; XDG_SESSION_TYPE = "wayland";
# GBM_BACKEND = "nvidia-drm"; GBM_BACKEND = "nvidia-drm";
__GLX_VENDOR_LIBRARY_NAME = "nvidia"; __GLX_VENDOR_LIBRARY_NAME = "nvidia";
NVD_BACKEND = "direct"; NVD_BACKEND = "direct";
}; };

View File

@@ -45,6 +45,7 @@ in {
kernelParams = [ kernelParams = [
"quiet" "quiet"
"splash" "splash"
"nvidia-drm.modeset=1"
]; ];
}; };

View File

@@ -20,7 +20,7 @@
amd.enable = false; amd.enable = false;
nvidia = { nvidia = {
enable = true; enable = true;
package = "stable"; # set to stable or beta depending on preference package = "beta"; # set to stable or beta depending on preference
}; };
}; };
}; };

View File

@@ -29,6 +29,7 @@ in {
libvdpau-va-gl libvdpau-va-gl
intel-media-driver intel-media-driver
nvidia-vaapi-driver nvidia-vaapi-driver
egl-wayland
]; ];
}; };
nvidia = { nvidia = {