diff --git a/hosts/solaire/config/nvidia.nix b/hosts/solaire/config/nvidia.nix index 1f2026e..00bc09d 100644 --- a/hosts/solaire/config/nvidia.nix +++ b/hosts/solaire/config/nvidia.nix @@ -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"]; }