fix: replace deprecated logind extraConfig with settings.Login
Agent-Logs-Url: https://github.com/naturallaw777/staging_alpha/sessions/a9bcbedf-7dfa-47e2-a9f5-b288ff5c5f42 Co-authored-by: naturallaw777 <99053422+naturallaw777@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
71d8eae6d8
commit
0cc1f50aa4
@@ -17,13 +17,13 @@
|
|||||||
lidSwitch = "ignore";
|
lidSwitch = "ignore";
|
||||||
lidSwitchDocked = "ignore";
|
lidSwitchDocked = "ignore";
|
||||||
lidSwitchExternalPower = "ignore";
|
lidSwitchExternalPower = "ignore";
|
||||||
extraConfig = ''
|
settings.Login = {
|
||||||
HandleSuspendKey=ignore
|
HandleSuspendKey = "ignore";
|
||||||
HandleHibernateKey=ignore
|
HandleHibernateKey = "ignore";
|
||||||
HandlePowerKey=ignore
|
HandlePowerKey = "ignore";
|
||||||
IdleAction=ignore
|
IdleAction = "ignore";
|
||||||
IdleActionSec=0
|
IdleActionSec = 0;
|
||||||
'';
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# ── Layer 2: mask systemd sleep targets ───────────────────────────────────
|
# ── Layer 2: mask systemd sleep targets ───────────────────────────────────
|
||||||
|
|||||||
Reference in New Issue
Block a user