nixos/timesyncd: Make dbus-activatible
Upstream has this alias too; so that dbus activation works. What I don't fully understand is why this would ever be useful given this unit is already started way in early boot; even before dbus is up. But lets just keep behaviour similar to upstream and then ask these questions to upstream.
This commit is contained in:
parent
cd1dedac67
commit
71a6d32c18
|
@ -41,6 +41,7 @@ with lib;
|
||||||
|
|
||||||
systemd.services.systemd-timesyncd = {
|
systemd.services.systemd-timesyncd = {
|
||||||
wantedBy = [ "sysinit.target" ];
|
wantedBy = [ "sysinit.target" ];
|
||||||
|
aliases = [ "dbus-org.freedesktop.timesync1.service" ];
|
||||||
restartTriggers = [ config.environment.etc."systemd/timesyncd.conf".source ];
|
restartTriggers = [ config.environment.etc."systemd/timesyncd.conf".source ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue