Systemd/logind: Difference between revisions

Ardenet (talk | contribs)
Marked this version for translation
Tags: Mobile edit Mobile web edit
J3h1 (talk | contribs)
m Update from deprecated `services.logind.extraConfig` to `services.logind.settings.Login`
 
Line 72: Line 72:


<syntaxhighlight lang="nix">
<syntaxhighlight lang="nix">
services.logind.extraConfig = ''
services.logind.settings.Login = {
   # want to be able to listen to music while laptop closed
   # If you want to listen to music while the lid is closed
   LidSwitchIgnoreInhibited=no
   HandleLidSwitch = "ignore";
'';
};
</syntaxhighlight>
</syntaxhighlight>