diff --git a/system/desktop/suspend.nix b/system/desktop/suspend.nix index 58b934a..9936d56 100644 --- a/system/desktop/suspend.nix +++ b/system/desktop/suspend.nix @@ -12,16 +12,16 @@ in { DISPLAY = ":${toString display}"; }; script = '' ${pkgs.xlockmore}/bin/xlock -mode life1d -size 1 & - sleep 4 + sleep 1 ''; serviceConfig = { SyslogIdentifier = "screenlock"; - # Type = "simple"; + #Type = "simple"; Type = "forking"; User = config.users.users.mainUser.name; }; }; - services.logind.lidSwitch = "suspend"; + services.logind.lidSwitch = "ignore"; }