From bc51766594a69b43ec38cf73dc711b8fa3150515 Mon Sep 17 00:00:00 2001 From: Matei Adriel Date: Tue, 18 Jul 2023 20:30:53 +0300 Subject: [PATCH] Do not shut down `lapetus` on lid closing --- hosts/nixos/lapetus/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hosts/nixos/lapetus/default.nix b/hosts/nixos/lapetus/default.nix index ad7739d..2f08d91 100644 --- a/hosts/nixos/lapetus/default.nix +++ b/hosts/nixos/lapetus/default.nix @@ -24,4 +24,7 @@ # Bootloader boot.loader.systemd-boot.enable = true; + + # Do not suspend on lid closing + services.logind.lidSwitch = "ignore"; }