Merge pull request #137157 from rebeccaskinner/fix/nvidia-settings

nixos/modules/hardware/video/nvidia: Fix incorrect reference to 'nvid…
This commit is contained in:
Bernardo Meurer 2021-11-16 10:18:16 -08:00 committed by GitHub
commit cf0e83f5c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -294,7 +294,7 @@ in
hardware.opengl.extraPackages32 = optional offloadCfg.enable nvidia_x11.lib32;
environment.systemPackages = [ nvidia_x11.bin ]
++ optionals nvidiaSettings [ nvidia_x11.settings ]
++ optionals cfg.nvidiaSettings [ nvidia_x11.settings ]
++ optionals nvidiaPersistencedEnabled [ nvidia_x11.persistenced ];
systemd.packages = optional cfg.powerManagement.enable nvidia_x11.out;