summaryrefslogtreecommitdiff
path: root/hosts/surtr
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2021-05-30 11:03:12 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2021-05-30 11:03:12 +0200
commit95412b0c6a926f7dde29e2e4f2231bf7485b9af7 (patch)
tree55b1d16d338a9b3f3e0b5c993e395f2f5689ea0b /hosts/surtr
parent34c29bc4460e39512350406e3952062265f479d0 (diff)
downloadnixos-95412b0c6a926f7dde29e2e4f2231bf7485b9af7.tar
nixos-95412b0c6a926f7dde29e2e4f2231bf7485b9af7.tar.gz
nixos-95412b0c6a926f7dde29e2e4f2231bf7485b9af7.tar.bz2
nixos-95412b0c6a926f7dde29e2e4f2231bf7485b9af7.tar.xz
nixos-95412b0c6a926f7dde29e2e4f2231bf7485b9af7.zip
surtr: configure ntp as pools
Diffstat (limited to 'hosts/surtr')
-rw-r--r--hosts/surtr/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/hosts/surtr/default.nix b/hosts/surtr/default.nix
index e07a2c18..27407ccc 100644
--- a/hosts/surtr/default.nix
+++ b/hosts/surtr/default.nix
@@ -84,7 +84,12 @@
84 services.timesyncd.enable = false; 84 services.timesyncd.enable = false;
85 services.chrony = { 85 services.chrony = {
86 enable = true; 86 enable = true;
87 servers = [];
87 extraConfig = '' 88 extraConfig = ''
89 pool 1.nixos.pool.ntp.org
90 pool 2.nixos.pool.ntp.org
91 pool 3.nixos.pool.ntp.org
92 pool 4.nixos.pool.ntp.org
88 refclock PHC /dev/ptp_kvm poll 2 dpoll -2 offset 0 stratum 3 93 refclock PHC /dev/ptp_kvm poll 2 dpoll -2 offset 0 stratum 3
89 ''; 94 '';
90 }; 95 };