diff options
author | Bernardo Meurer <bernardo@meurer.org> | 2021-11-16 10:18:16 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-16 10:18:16 -0800 |
commit | cf0e83f5c4b1f63a151b09b426257886b1639f9d (patch) | |
tree | b0557f000f45a83dd6db0445e7ce1a6e4fc2f5a1 /nixos | |
parent | a0a5e0be1cc6b9b37f1a53b55bbbc20c9dba6b43 (diff) | |
parent | e7996ab6cef26b3885ee0d337bcbd7de75c2988f (diff) |
Merge pull request #137157 from rebeccaskinner/fix/nvidia-settings
nixos/modules/hardware/video/nvidia: Fix incorrect reference to 'nvid…
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/hardware/video/nvidia.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/hardware/video/nvidia.nix b/nixos/modules/hardware/video/nvidia.nix index 917c6d3013e75..5b379505608a4 100644 --- a/nixos/modules/hardware/video/nvidia.nix +++ b/nixos/modules/hardware/video/nvidia.nix @@ -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; |