From 71a6d32c18edd0312a7436910b00d21d5e6d4c0f Mon Sep 17 00:00:00 2001 From: Arian van Putten Date: Tue, 19 May 2020 11:06:32 +0200 Subject: 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. --- nixos/modules/system/boot/timesyncd.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/system/boot/timesyncd.nix b/nixos/modules/system/boot/timesyncd.nix index 9e2f36ca01f..35fb5578b07 100644 --- a/nixos/modules/system/boot/timesyncd.nix +++ b/nixos/modules/system/boot/timesyncd.nix @@ -41,6 +41,7 @@ with lib; systemd.services.systemd-timesyncd = { wantedBy = [ "sysinit.target" ]; + aliases = [ "dbus-org.freedesktop.timesync1.service" ]; restartTriggers = [ config.environment.etc."systemd/timesyncd.conf".source ]; }; -- cgit 1.4.1