solve hibernation issue

This commit is contained in:
Rachel Lambda Samuelsson 2023-12-14 16:10:58 +01:00
parent adbd47160f
commit 0e7550c489

View File

@ -24,6 +24,9 @@
lidSwitchDocked = "ignore"; lidSwitchDocked = "ignore";
lidSwitchExternalPower = "hibernate"; lidSwitchExternalPower = "hibernate";
}; };
services.udev.extraRules = ''
KERNEL=="0000:00:14.0", SUBSYSTEM=="pci", ATTR{power/wakeup}="disabled"
'';
# [BOOT / DISK ENCRYPTION] # [BOOT / DISK ENCRYPTION]
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;