mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 22:32:58 +03:00
nixos/nvidia: decouple nvidia_x11.persistenced
This commit is contained in:
parent
c3054b77d7
commit
2e67196d79
@ -235,7 +235,7 @@ in
|
||||
hardware.opengl.extraPackages32 = optional offloadCfg.enable nvidia_libs32;
|
||||
|
||||
environment.systemPackages = [ nvidia_x11.bin nvidia_x11.settings ]
|
||||
++ filter (p: p != null) [ nvidia_x11.persistenced ];
|
||||
++ optional nvidiaPersistencedEnabled [ nvidia_x11.persistenced ];
|
||||
|
||||
systemd.packages = optional cfg.powerManagement.enable nvidia_x11.out;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user