We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc8b9be commit c534cd1Copy full SHA for c534cd1
1 file changed
modules/nixos/router.nix
@@ -1490,6 +1490,20 @@ in {
1490
};
1491
1492
1493
+ # Use IP-based NTP servers so timesyncd can sync the clock without
1494
+ # waiting for DNS (dnscrypt-proxy). This breaks the boot-time deadlock
1495
+ # where the wrong hardware clock (e.g. after power loss) prevents TLS
1496
+ # cert validation, which blocks DNS, which blocks NTP.
1497
+ services.timesyncd = {
1498
+ enable = true;
1499
+ servers = [
1500
+ "162.159.200.1" # time.cloudflare.com
1501
+ "162.159.200.123" # time.cloudflare.com
1502
+ "216.239.35.0" # time.google.com
1503
+ "216.239.35.4" # time.google.com
1504
+ ];
1505
+ };
1506
+
1507
systemd.tmpfiles.rules =
1508
[
1509
"d /var/lib/bind 0775 named named -"
0 commit comments