From dd8a49df5acdc6ed6791c85e7c72c91033124c21 Mon Sep 17 00:00:00 2001 From: GaspardCulis Date: Tue, 8 Oct 2024 14:44:16 +0200 Subject: [PATCH] fix(Zephyrus): Added `mem_sleep_default=deep` kernel param To fix suspend method --- hosts/Zephyrus/hardware-configuration.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/hosts/Zephyrus/hardware-configuration.nix b/hosts/Zephyrus/hardware-configuration.nix index b521dc3..c3463cf 100644 --- a/hosts/Zephyrus/hardware-configuration.nix +++ b/hosts/Zephyrus/hardware-configuration.nix @@ -16,6 +16,7 @@ boot = { kernelPackages = lib.mkDefault pkgs.linuxPackages_zen; kernelModules = ["kvm-amd"]; + kernelParams = ["mem_sleep_default=deep"]; # Should fix/change suspend method extraModulePackages = []; initrd = { availableKernelModules = ["nvme" "xhci_pci" "usbhid" "sdhci_pci"];