From 5fcb01a4ec80b97f8f273c26bb873217871c402c Mon Sep 17 00:00:00 2001 From: ducoterra Date: Sun, 6 Aug 2023 09:52:19 -0400 Subject: [PATCH] add instructions to avoid sleeping while plugged in --- arch.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch.md b/arch.md index 63ad673..e01a397 100644 --- a/arch.md +++ b/arch.md @@ -10,6 +10,7 @@ - [Firewall](#firewall) - [Power Management](#power-management) - [TPM2 LUKS Decryption](#tpm2-luks-decryption) + - [Don't sleep while plugged in](#dont-sleep-while-plugged-in) - [Fingerprint Reader Support](#fingerprint-reader-support) - [AppImage Support](#appimage-support) - [Bluetooth](#bluetooth) @@ -181,6 +182,19 @@ sudo ufw enable 2. `pacman -S tpm2-tss` 3. `systemd-cryptenroll /dev/vda2 --wipe-slot=tpm2 --tpm2-device=auto --tpm2-pcrs=""` +### Don't sleep while plugged in + +This is needed for the Framework 13 (11th gen) since sleeping while plugged in to a dock +will prevent it from waking up. + +/etc/systemd/logind.conf + +```conf +... +HandleLidSwitchExternalPower=lock +HandleLidSwitchDocked=ignore +... +``` ### Fingerprint Reader Support