diff options
| author | Tomas Volf <~@wolfsden.cz> | 2026-06-06 22:37:22 +0200 |
|---|---|---|
| committer | Maxim Cournoyer <maxim@guixotic.coop> | 2026-06-15 09:13:22 +0900 |
| commit | 07e3d705d5892edc4fe512aa7673f3e3b6626346 (patch) | |
| tree | 33fb995fdafa29a9ccfa8559468c7eb0c2c8517b /tests/guix-environment.sh | |
| parent | d626e52e7d4a5934a80c27e9828bfdc1ff1a60e5 (diff) | |
services: elogind: Move settings to correct file, correct names.
For quite some time now, elogind was logging the following warnings one every
start.
[..]/logind.conf:2: Unknown key 'AllowPowerOffInterrupts' in section [Login], ignoring.
[..]/logind.conf:3: Unknown key 'AllowSuspendInterrupts' in section [Login], ignoring.
[..]/logind.conf:4: Unknown key 'BroadcastPowerOffInterrupts' in section [Login], ignoring.
[..]/logind.conf:5: Unknown key 'BroadcastSuspendInterrupts' in section [Login], ignoring.
[..]/logind.conf:21: Unknown key 'RemoveIpc' in section [Login], ignoring.
First 4 should have been in sleep.conf, and the last one had bad casing. This
commit addresses both those problems.
* gnu/services/desktop.scm (elogind-name->string): New procedure.
(elogind-serialize-boolean, elogind-base-serializer, elogind-list-serializer):
Use it.
(%elogind-configuration-sleep-fields): Add allow-power-off-interrupts?,
allow-suspend-interrupts?, broadcast-power-off-interrupts? and
broadcast-suspend-interrupts?.
Signed-off-by: Maxim Cournoyer <maxim@guixotic.coop>
Diffstat (limited to 'tests/guix-environment.sh')
0 files changed, 0 insertions, 0 deletions
