machines/smithers: Disable WakeOnAC

This commit is contained in:
fleaz 2023-12-13 23:18:01 +01:00
parent c375736076
commit 251aebd6d3
No known key found for this signature in database
GPG key ID: AED15F8FDD04D083

View file

@ -14,6 +14,9 @@
# disable the include of TLP because we get the fancy AMD one from nixos-hardwware # disable the include of TLP because we get the fancy AMD one from nixos-hardwware
my.includeTLP = false; my.includeTLP = false;
# Don't wake from sleep if plugged into AC
hardware.framework.amd-7040.preventWakeOnAC = true;
# Use the systemd-boot EFI boot loader. # Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;