chrony: more servers
This commit is contained in:
parent
ca3a873e94
commit
2b9a27d92e
2 changed files with 11 additions and 5 deletions
|
@ -23,6 +23,8 @@ in
|
|||
|
||||
../nixos/attic.nix
|
||||
|
||||
../nixos/chrony.nix
|
||||
|
||||
(import ../nixos/forgejo-runner.nix (args // { name = "argon"; tag = "ubuntu-latest-arm64"; nixTag = "arm64"; }))
|
||||
|
||||
../nixos/grafana.nix
|
||||
|
|
|
@ -7,8 +7,14 @@
|
|||
servers = [
|
||||
"ptbtime1.ptb.de"
|
||||
"ptbtime2.ptb.de"
|
||||
"time.cloudflare.com"
|
||||
"ptbtime3.ptb.de"
|
||||
"ntp1.rwth-aachen.de"
|
||||
"ntp2.rwth-aachen.de"
|
||||
"ntp3.rwth-aachen.de"
|
||||
"ntp1.hetzner.de"
|
||||
"ntp2.hetzner.de"
|
||||
"ntp3.hetzner.de"
|
||||
"time.cloudflare.com"
|
||||
];
|
||||
|
||||
extraConfig = ''
|
||||
|
@ -18,11 +24,9 @@
|
|||
'';
|
||||
};
|
||||
|
||||
systemd.services.chronyd = {
|
||||
after = lib.mkForce [ "network-online.target" "nss-lookup.target" ];
|
||||
};
|
||||
services.timesyncd.enable = lib.mkForce false;
|
||||
|
||||
networking.firewall.interfaces."end0" = {
|
||||
networking.firewall = {
|
||||
allowedUDPPorts = [ 123 ];
|
||||
allowedTCPPorts = [ 123 ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue