mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 12:15:34 +03:00
nvidia module: allow .persistenced == null
Fixes #26250. This is fallout from PR #22304. It's null for 304 and 173 legacy drivers.
This commit is contained in:
parent
f8fd5531a3
commit
bc7b895aa5
1 changed files with 2 additions and 1 deletions
|
@ -56,7 +56,8 @@ in
|
|||
hardware.opengl.package = nvidiaPackage nvidia_x11 pkgs;
|
||||
hardware.opengl.package32 = nvidiaPackage nvidia_libs32 pkgs_i686;
|
||||
|
||||
environment.systemPackages = [ nvidia_x11.bin nvidia_x11.settings nvidia_x11.persistenced ];
|
||||
environment.systemPackages = [ nvidia_x11.bin nvidia_x11.settings ]
|
||||
++ lib.filter (p: p != null) [ nvidia_x11.persistenced ];
|
||||
|
||||
boot.extraModulePackages = [ nvidia_x11.bin ];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue