Merge pull request #23 from cnsta/nvidiamodding

more nvidia changes
This commit is contained in:
cnsta
2024-08-18 21:12:51 +02:00
committed by GitHub
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 = {