From bd2e13a2151baba361121f4fa2ae2b522614b8c5 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Fri, 12 Apr 2024 08:38:02 +0200 Subject: [PATCH] feat: Add lidSwitch configuration to ignore in logind service This commit includes a new lid switch configuration for the logind service within the SGX default configuration file. The lid switch has been set to "ignore", enhancing control over system behaviors upon lid actions. --- systems/x86_64-linux/sgx/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/systems/x86_64-linux/sgx/default.nix b/systems/x86_64-linux/sgx/default.nix index 5a76d83..f663b61 100644 --- a/systems/x86_64-linux/sgx/default.nix +++ b/systems/x86_64-linux/sgx/default.nix @@ -40,5 +40,7 @@ systemd.targets.hybrid-sleep.enable = false; services.xserver.displayManager.gdm.autoSuspend = false; + services.logind.lidSwitch = "ignore"; + system.stateVersion = "23.11"; }