diff --git a/content/blog/2024-10-29-archlinux.md b/content/blog/2024-10-29-archlinux.md index 796e34f..86f5c74 100644 --- a/content/blog/2024-10-29-archlinux.md +++ b/content/blog/2024-10-29-archlinux.md @@ -74,3 +74,10 @@ PasswordAuthentication no $ systemctl restart sshd ``` +## 蓋を閉じてもsleepしないようにする + +```sh:/etc/systemd/logind.conf +HandleLidSwitch=suspend +HandleLidSwitchExternalPower=ignore +HandleLidSwitchDocked=ignore +```