mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-05 17:27:50 +00:00
[Hardware/Nvidia] add missing requirements on nvidia-suspend
Hybrid Sleep still does not work properly...
This commit is contained in:
parent
2a0e0449fd
commit
c422181cfe
1 changed files with 5 additions and 0 deletions
|
|
@ -75,6 +75,11 @@ in {
|
|||
|
||||
services.xserver.displayManager.sddm.wayland.enable = false; # Frequent issues with Nvidia GPUs
|
||||
|
||||
# Fix hybrid sleep with Nvidia GPU
|
||||
systemd.services.nvidia-suspend = {
|
||||
requiredBy = [ "systemd-hybrid-sleep.service" ];
|
||||
before = [ "systemd-hybrid-sleep.service" ];
|
||||
};
|
||||
hardware.nvidia = {
|
||||
powerManagement = mkIf (config.hardware.nvidia.prime.offload.enable || cfg.proprietary.saveAllVram) {
|
||||
enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue