summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorTimothy DeHerrera <tim.deh@pm.me>2021-08-06 13:02:08 -0600
committerGitHub <noreply@github.com>2021-08-06 13:02:08 -0600
commitcc455c004a60e1d65a0fb86ad6cc76168c6bb4d5 (patch)
treeb3ad0ae3747c509c5a939c23d102ec9aaa616034 /nixos
parent224e83cfd240ceccae95f9605b0b1be394861e20 (diff)
parent6e3cecf1f7efb744eb42fa7f72d799b169256422 (diff)
downloadnixpkgs-cc455c004a60e1d65a0fb86ad6cc76168c6bb4d5.tar
nixpkgs-cc455c004a60e1d65a0fb86ad6cc76168c6bb4d5.tar.gz
nixpkgs-cc455c004a60e1d65a0fb86ad6cc76168c6bb4d5.tar.bz2
nixpkgs-cc455c004a60e1d65a0fb86ad6cc76168c6bb4d5.tar.lz
nixpkgs-cc455c004a60e1d65a0fb86ad6cc76168c6bb4d5.tar.xz
nixpkgs-cc455c004a60e1d65a0fb86ad6cc76168c6bb4d5.tar.zst
nixpkgs-cc455c004a60e1d65a0fb86ad6cc76168c6bb4d5.zip
Merge pull request #132895 from poscat0x04/chrony-dns
nixos/chrony: wait for DNS services to start up before starting
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/networking/ntp/chrony.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/ntp/chrony.nix b/nixos/modules/services/networking/ntp/chrony.nix
index 96c6444c23a..a4b17bbbff5 100644
--- a/nixos/modules/services/networking/ntp/chrony.nix
+++ b/nixos/modules/services/networking/ntp/chrony.nix
@@ -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 ];