diff options
author | Jonathan Ringer <jonringer117@gmail.com> | 2020-10-18 11:42:05 -0700 |
---|---|---|
committer | Jon <jonringer@users.noreply.github.com> | 2020-10-18 11:47:34 -0700 |
commit | 5e67d80a8ba61fe0467b633c1cb63143c66a26a6 (patch) | |
tree | 445994c5af3bfa88c68c114a6f3c99bf7e97ea7f /nixos | |
parent | ff6efa6f16724fed790bdb0f6b935fb444ad3e7b (diff) |
nixos/nvidia: fix optionals usage
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 6c2d747ee859..d1cf7d05c1b8 100644 --- a/nixos/modules/hardware/video/nvidia.nix +++ b/nixos/modules/hardware/video/nvidia.nix @@ -235,7 +235,7 @@ in hardware.opengl.extraPackages32 = optional offloadCfg.enable nvidia_libs32; environment.systemPackages = [ nvidia_x11.bin nvidia_x11.settings ] - ++ optional nvidiaPersistencedEnabled [ nvidia_x11.persistenced ]; + ++ optionals nvidiaPersistencedEnabled [ nvidia_x11.persistenced ]; systemd.packages = optional cfg.powerManagement.enable nvidia_x11.out; |