summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2023-05-21 11:47:34 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2023-05-21 11:47:34 +0200
commit6c9cc26a350051ed9df8feed2564567b80bb3edd (patch)
treeb67985758d9f7bbec450c253e9244f0a75aff2d0
parentf769ad9da78beb8e7a816eb5e575804a03f226e2 (diff)
downloadnixos-6c9cc26a350051ed9df8feed2564567b80bb3edd.tar
nixos-6c9cc26a350051ed9df8feed2564567b80bb3edd.tar.gz
nixos-6c9cc26a350051ed9df8feed2564567b80bb3edd.tar.bz2
nixos-6c9cc26a350051ed9df8feed2564567b80bb3edd.tar.xz
nixos-6c9cc26a350051ed9df8feed2564567b80bb3edd.zip
...
-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