From 251aebd6d395629b04cff7859cb19455fd7e214a Mon Sep 17 00:00:00 2001 From: fleaz Date: Wed, 13 Dec 2023 23:18:01 +0100 Subject: [PATCH] machines/smithers: Disable WakeOnAC --- machines/smithers/configuration.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/machines/smithers/configuration.nix b/machines/smithers/configuration.nix index 4a2e849..443b47c 100644 --- a/machines/smithers/configuration.nix +++ b/machines/smithers/configuration.nix @@ -14,6 +14,9 @@ # disable the include of TLP because we get the fancy AMD one from nixos-hardwware 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. boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true;