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

View File

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

View File

@@ -20,7 +20,7 @@
amd.enable = false;
nvidia = {
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
intel-media-driver
nvidia-vaapi-driver
egl-wayland
];
};
nvidia = {