From 817f89bafea5cb60064c4dcd8040237ecc53892e Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Wed, 25 Dec 2024 08:40:27 +0300 Subject: [PATCH] Max: Disable lid sleep. --- host/x86_64-linux/max/Logind.nix | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 host/x86_64-linux/max/Logind.nix diff --git a/host/x86_64-linux/max/Logind.nix b/host/x86_64-linux/max/Logind.nix new file mode 100644 index 00000000..cd139de8 --- /dev/null +++ b/host/x86_64-linux/max/Logind.nix @@ -0,0 +1,5 @@ +{ ... }: +{ + # Don't suspend on lid closed. + services.logind.lidSwitch = "ignore"; +}