From 0926183b70cee6ef751f5cb64fbc7e5d2c14cbbc Mon Sep 17 00:00:00 2001 From: Mikhail Klementev Date: Wed, 11 May 2022 14:07:29 +0000 Subject: [PATCH] Allow to executing a process while inhibiting shutdown/sleep/idle --- configuration.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configuration.nix b/configuration.nix index 4143f03..c9e43b3 100644 --- a/configuration.nix +++ b/configuration.nix @@ -28,6 +28,11 @@ in { ]; boot.kernelModules = [ "v4l2loopback" ]; boot.blacklistedKernelModules = [ "nouveau" ]; + + services.logind.extraConfig = '' + LidSwitchIgnoreInhibited=no + ''; + boot.binfmt.emulatedSystems = [ "aarch64-linux" ]; i18n.defaultLocale = "en_US.UTF-8";