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";
|
||||
lidSwitchDocked = "ignore";
|
||||
lidSwitchExternalPower = "ignore";
|
||||
extraConfig = ''
|
||||
HandleSuspendKey=ignore
|
||||
HandleHibernateKey=ignore
|
||||
HandlePowerKey=ignore
|
||||
IdleAction=ignore
|
||||
IdleActionSec=0
|
||||
'';
|
||||
settings.Login = {
|
||||
HandleSuspendKey = "ignore";
|
||||
HandleHibernateKey = "ignore";
|
||||
HandlePowerKey = "ignore";
|
||||
IdleAction = "ignore";
|
||||
IdleActionSec = 0;
|
||||
};
|
||||
};
|
||||
|
||||
# ── Layer 2: mask systemd sleep targets ───────────────────────────────────
|
||||
|
||||
Reference in New Issue
Block a user