From f41b3808aa731980d49b95f8fa63b9d94c7c5264 Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Mon, 4 Sep 2023 16:48:42 +0200 Subject: [PATCH] Disable suspend when closing the lid --- systems/gwyn/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/systems/gwyn/default.nix b/systems/gwyn/default.nix index 20f4185..41a9a14 100644 --- a/systems/gwyn/default.nix +++ b/systems/gwyn/default.nix @@ -66,6 +66,7 @@ az-tlp.enable = true; az-x86.enable = true; hardware.bolt.enable = true; # Enable Thunderbolt control + logind.lidSwitchExternalPower = "ignore"; }; virtualisation.virtualbox.host.enable = true;