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:
commit
38953c157e
1 changed files with 4 additions and 1 deletions
|
@ -101,7 +101,10 @@ in
|
||||||
Enabling this and using version 545 or newer of the proprietary NVIDIA
|
Enabling this and using version 545 or newer of the proprietary NVIDIA
|
||||||
driver causes it to provide its own framebuffer device, which can cause
|
driver causes it to provide its own framebuffer device, which can cause
|
||||||
Wayland compositors to work when they otherwise wouldn't.
|
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 {
|
prime.nvidiaBusId = lib.mkOption {
|
||||||
type = busIDType;
|
type = busIDType;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue