Revert "maybe fix suspend"

This reverts commit af8f9d0342.
This commit is contained in:
nora 2024-09-28 22:58:09 +02:00
parent aae3832279
commit f5215e18b0

View file

@ -89,13 +89,6 @@ in
};
};
# For hibernate:
# https://www.reddit.com/r/hyprland/comments/1cyb0h7/hibernate_on_nvidia/
boot.extraModprobeConfig = ''
options nvidia NVreg_PreserveVideoMemoryAllocations=1
options nvidia NVreg_TemporaryFilePath=/var/tmp
'';
boot.binfmt.emulatedSystems = [ "wasm32-wasi" "aarch64-linux" ];
boot.kernelPackages = pkgs.linuxPackages_6_6;
@ -149,8 +142,6 @@ in
# https://github.com/NixOS/nixpkgs/issues/299944#issuecomment-2027246826
modesetting.enable = true;
open = true;
# For suspend/hibernate
powerManagement.enable = true;
};
hardware.graphics = {