nixos/chrony: wait for dns services to start up before starting

This commit is contained in:
Poscat 2021-08-06 21:03:55 +08:00
parent 86340c7370
commit 6e3cecf1f7
No known key found for this signature in database
GPG Key ID: 2D2595A00D08ACE0

View File

@ -148,7 +148,7 @@ in
wantedBy = [ "multi-user.target" ];
wants = [ "time-sync.target" ];
before = [ "time-sync.target" ];
after = [ "network.target" ];
after = [ "network.target" "nss-lookup.target" ];
conflicts = [ "ntpd.service" "systemd-timesyncd.service" ];
path = [ chronyPkg ];