1
0
Fork 0

Compare commits

...

2 commits

Author SHA1 Message Date
f77af3a857
Update deps
All checks were successful
Build / build-amd64-linux (push) Successful in 59s
Build / build-arm64-linux (push) Successful in 2m49s
2024-01-29 16:38:38 +01:00
2b9a27d92e
chrony: more servers 2024-01-29 10:26:03 +01:00
3 changed files with 17 additions and 11 deletions

View file

@ -356,11 +356,11 @@
}, },
"nixos-unstable": { "nixos-unstable": {
"locked": { "locked": {
"lastModified": 1706440623, "lastModified": 1706472015,
"narHash": "sha256-MzqsevUkrIVpAbbN7Wn3mGlYklkm2geaozGTFxtnYgA=", "narHash": "sha256-SkBuhrn0o7g/FqRBxrqRqgjFObO9cxK1r1Tq2DfAIkg=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "50071d87c75300c037e28439c5176c3933b9fce5", "rev": "48f6e0d2866ef7168f42f30ed9601c70fdc49899",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -372,11 +372,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1706367331, "lastModified": 1706487304,
"narHash": "sha256-AqgkGHRrI6h/8FWuVbnkfFmXr4Bqsr4fV23aISqj/xg=", "narHash": "sha256-LE8lVX28MV2jWJsidW13D2qrHU/RUUONendL2Q/WlJg=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "160b762eda6d139ac10ae081f8f78d640dd523eb", "rev": "90f456026d284c22b3e3497be980b2e47d0b28ac",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -23,6 +23,8 @@ in
../nixos/attic.nix ../nixos/attic.nix
../nixos/chrony.nix
(import ../nixos/forgejo-runner.nix (args // { name = "argon"; tag = "ubuntu-latest-arm64"; nixTag = "arm64"; })) (import ../nixos/forgejo-runner.nix (args // { name = "argon"; tag = "ubuntu-latest-arm64"; nixTag = "arm64"; }))
../nixos/grafana.nix ../nixos/grafana.nix

View file

@ -7,8 +7,14 @@
servers = [ servers = [
"ptbtime1.ptb.de" "ptbtime1.ptb.de"
"ptbtime2.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" "ntp1.hetzner.de"
"ntp2.hetzner.de"
"ntp3.hetzner.de"
"time.cloudflare.com"
]; ];
extraConfig = '' extraConfig = ''
@ -18,11 +24,9 @@
''; '';
}; };
systemd.services.chronyd = { services.timesyncd.enable = lib.mkForce false;
after = lib.mkForce [ "network-online.target" "nss-lookup.target" ];
};
networking.firewall.interfaces."end0" = { networking.firewall = {
allowedUDPPorts = [ 123 ]; allowedUDPPorts = [ 123 ];
allowedTCPPorts = [ 123 ]; allowedTCPPorts = [ 123 ];
}; };