hosts/solaire: fix wake-up issues with nvidia

This commit is contained in:
Anthony Rodriguez 2024-12-26 17:47:33 +01:00
parent 5348e741e8
commit 7ff03271d7
Signed by: nezia
GPG key ID: EE3BE97C040A86CE

View file

@ -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"];
}