summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2021-05-30 11:06:09 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2021-05-30 11:06:09 +0200
commitb71b36209fa6ae194ecb2d7a25f68f169bb56d15 (patch)
treecc48fe36efa0fac670f4291280b3fabe8c3ea214
parent95412b0c6a926f7dde29e2e4f2231bf7485b9af7 (diff)
downloadnixos-b71b36209fa6ae194ecb2d7a25f68f169bb56d15.tar
nixos-b71b36209fa6ae194ecb2d7a25f68f169bb56d15.tar.gz
nixos-b71b36209fa6ae194ecb2d7a25f68f169bb56d15.tar.bz2
nixos-b71b36209fa6ae194ecb2d7a25f68f169bb56d15.tar.xz
nixos-b71b36209fa6ae194ecb2d7a25f68f169bb56d15.zip
surtr: ntp...
-rw-r--r--hosts/surtr/default.nix11
1 files changed, 7 insertions, 4 deletions
diff --git a/hosts/surtr/default.nix b/hosts/surtr/default.nix
index 27407ccc..61438992 100644
--- a/hosts/surtr/default.nix
+++ b/hosts/surtr/default.nix
@@ -86,11 +86,14 @@
86 enable = true; 86 enable = true;
87 servers = []; 87 servers = [];
88 extraConfig = '' 88 extraConfig = ''
89 pool 1.nixos.pool.ntp.org 89 pool 0.nixos.pool.ntp.org iburst
90 pool 2.nixos.pool.ntp.org 90 pool 1.nixos.pool.ntp.org iburst
91 pool 3.nixos.pool.ntp.org 91 pool 2.nixos.pool.ntp.org iburst
92 pool 4.nixos.pool.ntp.org 92 pool 3.nixos.pool.ntp.org iburst
93
93 refclock PHC /dev/ptp_kvm poll 2 dpoll -2 offset 0 stratum 3 94 refclock PHC /dev/ptp_kvm poll 2 dpoll -2 offset 0 stratum 3
95
96 makestep 0.1 3
94 ''; 97 '';
95 }; 98 };
96 99