add instructions to avoid sleeping while plugged in

This commit is contained in:
ducoterra
2023-08-06 09:52:19 -04:00
parent fc9a4f5988
commit 5fcb01a4ec

14
arch.md
View File

@@ -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