commit 46af3ac859a9642bf404376d291029fe2faabcb1
parent dd5a2f59ecc986614611406e67ecc3c6b3db3b5f
Author: Vincent Demeester <vincent@sbr.pm>
Date: Thu, 17 Dec 2020 15:52:24 +0100
systems: do not suspend on hokkaido
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/systems/hosts/hokkaido.nix b/systems/hosts/hokkaido.nix
@@ -106,6 +106,11 @@ in
};
services = {
+ logind.extraConfig = ''
+ HandleLidSwitch=ignore
+ HandleLidSwitchExternalPower=ignore
+ HandleLidSwitchDocked=ignore
+ '';
# FIXME re-generate hokkaido key
/*
wireguard = {