From b2c3f6aa6f6e1b8c0574d8563cb2cef28df80952 Mon Sep 17 00:00:00 2001 From: smayzy Date: Fri, 4 Jul 2025 17:02:30 +0200 Subject: [PATCH] stop shutdown on lid closing --- hosts/laptop1/configuration.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hosts/laptop1/configuration.nix b/hosts/laptop1/configuration.nix index 8b6a978..44272e1 100644 --- a/hosts/laptop1/configuration.nix +++ b/hosts/laptop1/configuration.nix @@ -9,6 +9,8 @@ smayzy.grub-on-lap.enable = true; + services.logind.lidSwitch = "ignore"; + home-manager = { extraSpecialArgs = { inherit inputs; }; users = {