From c517b25312e566b91430bcd531179d50545ffa91 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Fri, 26 May 2023 10:53:50 -0400 Subject: [PATCH] Disable suspend on lid close This was more annoying than not due to having to re-establish an internet connection every time the lid was closed. Other advantages include the possibility to use the computer while closed. --- common.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common.nix b/common.nix index c7a6825f..5df494d4 100644 --- a/common.nix +++ b/common.nix @@ -33,6 +33,9 @@ DefaultTimeoutStopSec=10s ''; + # logind + services.logind.lidSwitch = "ignore"; + # timezone time.timeZone = "America/New_York"; }