summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hosts/surtr/default.nix14
-rw-r--r--hosts/vidhar/default.nix16
2 files changed, 18 insertions, 12 deletions
diff --git a/hosts/surtr/default.nix b/hosts/surtr/default.nix
index 6925445b..b415bcb8 100644
--- a/hosts/surtr/default.nix
+++ b/hosts/surtr/default.nix
@@ -110,15 +110,17 @@ with lib;
110 services.timesyncd.enable = false; 110 services.timesyncd.enable = false;
111 services.chrony = { 111 services.chrony = {
112 enable = true; 112 enable = true;
113 enableNTS = true;
113 servers = []; 114 servers = [];
114 extraConfig = '' 115 extraConfig = ''
115 pool time.cloudflare.com iburst nts 116 pool time.cloudflare.com iburst nts
116 pool nts.ntp.se iburst nts 117 pool nts.netnod.se prefer iburst nts
117 server nts.sth1.ntp.se iburst nts 118 server ptbtime1.ptb.de prefer iburst nts
118 server nts.sth2.ntp.se iburst nts 119 server ptbtime2.ptb.de prefer iburst nts
119 server ptbtime1.ptb.de iburst nts 120 server ptbtime3.ptb.de prefer iburst nts
120 server ptbtime2.ptb.de iburst nts 121
121 server ptbtime3.ptb.de iburst nts 122 authselectmode require
123 minsources 3
122 124
123 refclock PHC /dev/ptp_kvm poll 2 dpoll -2 offset 0 stratum 3 125 refclock PHC /dev/ptp_kvm poll 2 dpoll -2 offset 0 stratum 3
124 126
diff --git a/hosts/vidhar/default.nix b/hosts/vidhar/default.nix
index b0277c14..c24d9591 100644
--- a/hosts/vidhar/default.nix
+++ b/hosts/vidhar/default.nix
@@ -59,18 +59,22 @@ with lib;
59 services.timesyncd.enable = false; 59 services.timesyncd.enable = false;
60 services.chrony = { 60 services.chrony = {
61 enable = true; 61 enable = true;
62 enableNTS = true;
62 servers = []; 63 servers = [];
63 extraConfig = '' 64 extraConfig = ''
64 allow 10.141.1.0/24 65 allow 10.141.1.0/24
65 local 66 local
66 67
67 pool time.cloudflare.com iburst nts 68 pool time.cloudflare.com iburst nts
68 pool nts.ntp.se iburst nts 69 pool nts.netnod.se prefer iburst nts
69 server nts.sth1.ntp.se iburst nts 70 server ptbtime1.ptb.de prefer iburst nts
70 server nts.sth2.ntp.se iburst nts 71 server ptbtime2.ptb.de prefer iburst nts
71 server ptbtime1.ptb.de iburst nts 72 server ptbtime3.ptb.de prefer iburst nts
72 server ptbtime2.ptb.de iburst nts 73
73 server ptbtime3.ptb.de iburst nts 74 authselectmode require
75 minsources 3
76
77 nocerttimecheck 1
74 78
75 leapsectz right/UTC 79 leapsectz right/UTC
76 80