chrony: disable the whole timesyncd module when chronyd is enabled
Peviously only the timesyncd systemd unit was disabled. This meant
that when you activate a system that has chronyd enabled the following
strange startup behaviour takes place:
systemd[1]: Starting chrony NTP daemon...
systemd[1]: Stopping Network Time Synchronization...
systemd[1]: Stopped chrony NTP daemon.
systemd[1]: Starting Network Time Synchronization...
commit56ef1068488c64af7c1e5b811caa24255a818bf4
authorBas van Dijk <v.dijk.bas@gmail.com>
dateFri 22 Jun 2018, 12:02 (8 years ago)
parenta8c7103
nixos/modules/services/networking/chrony.nix+1−1
@@ -109,7 +109,7 @@ in
109109 home = stateDir;
110110 };
111111
112− systemd.services.timesyncd.enable = mkForce false;
112+ services.timesyncd.enable = mkForce false;
113113
114114 systemd.services.chronyd =
115115 { description = "chrony NTP daemon";