[Services] Use dbus-broker instead of default dbus implementation

Reportedly has higher performance and reliability
This commit is contained in:
Antoine Viallon 2023-05-05 11:49:54 +02:00
parent 931d90131c
commit c07db9ae09
Signed by: aviallon
GPG key ID: 186FC35EDEB25716

View file

@ -54,6 +54,9 @@ in {
startWhenNeeded = true; startWhenNeeded = true;
}; };
# Better reliability and performance
services.dbus.implementation = "broker";
systemd.services."ssh-inhibit-sleep@" = { systemd.services."ssh-inhibit-sleep@" = {
description = "Inhibit sleep when SSH connections are active"; description = "Inhibit sleep when SSH connections are active";
bindsTo = [ "sshd@%i.service" ]; bindsTo = [ "sshd@%i.service" ];