From a8285182438c8c469304f479bf721850e3b742d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Fri, 22 Nov 2024 19:42:26 +0200 Subject: [PATCH] vno3-rp3b: make chronyd more aggressive on large drift --- hosts/vno3-rp3b/configuration.nix | 36 ++++++++++++++++++------------- 1 file changed, 21 insertions(+), 15 deletions(-) diff --git a/hosts/vno3-rp3b/configuration.nix b/hosts/vno3-rp3b/configuration.nix index 5a749f3..18f78ea 100644 --- a/hosts/vno3-rp3b/configuration.nix +++ b/hosts/vno3-rp3b/configuration.nix @@ -123,22 +123,28 @@ }; }; - # shared printing - services.avahi = { - enable = true; - nssmdns4 = true; - openFirewall = true; - publish = { - enable = true; - userServices = true; - }; - }; + services = { + chrony.extraConfig = '' + makestep 1 -1 + ''; - services.printing = { - openFirewall = true; - allowFrom = [ "all" ]; - browsing = true; - defaultShared = true; + # shared printing + avahi = { + enable = true; + nssmdns4 = true; + openFirewall = true; + publish = { + enable = true; + userServices = true; + }; + }; + + printing = { + openFirewall = true; + allowFrom = [ "all" ]; + browsing = true; + defaultShared = true; + }; }; environment.etc = {