hosts/solaire: fix wake-up issues with nvidia
This commit is contained in:
parent
5348e741e8
commit
7ff03271d7
1 changed files with 5 additions and 3 deletions
|
@ -2,11 +2,13 @@
|
|||
hardware.graphics.enable = true;
|
||||
services.xserver.videoDrivers = ["nvidia"];
|
||||
hardware.nvidia = {
|
||||
open = false;
|
||||
modesetting.enable = true;
|
||||
powerManagement.enable = false;
|
||||
powerManagement.finegrained = false;
|
||||
open = true;
|
||||
powerManagement.enable = true;
|
||||
nvidiaSettings = true;
|
||||
package = config.boot.kernelPackages.nvidiaPackages.beta;
|
||||
};
|
||||
|
||||
# https://wiki.hyprland.org/Nvidia/#suspendwakeup-issues
|
||||
boot.kernelParams = ["nvidia.NVreg_PreserveVideoMemoryAllocations=1"];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue