From 2b18b37145e74d99a17d7c75532f85af23744aad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Tue, 23 Jul 2024 22:04:08 +0300 Subject: [PATCH] fwminex: logind --- hosts/fwminex/configuration.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hosts/fwminex/configuration.nix b/hosts/fwminex/configuration.nix index 5947b2c..b2122d6 100644 --- a/hosts/fwminex/configuration.nix +++ b/hosts/fwminex/configuration.nix @@ -60,6 +60,11 @@ in { pcscd.enable = true; acpid.enable = true; fwupd.enable = true; + logind = { + lidSwitch = "ignore"; + powerKey = "suspend"; + powerKeyLongPress = "poweroff"; + }; }; mj = {