0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

Merge pull request #326369 from getchoo/nixos/nvidia/modesetting

This commit is contained in:
Franz Pletz 2024-07-23 14:16:56 +02:00 committed by GitHub
commit 38953c157e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -101,7 +101,10 @@ in
Enabling this and using version 545 or newer of the proprietary NVIDIA
driver causes it to provide its own framebuffer device, which can cause
Wayland compositors to work when they otherwise wouldn't.
'';
'' // {
default = lib.versionAtLeast nvidia_x11.version "535";
defaultText = lib.literalExpression "lib.versionAtLeast nvidia_x11.version \"535\"";
};
prime.nvidiaBusId = lib.mkOption {
type = busIDType;