all repos — nixfiles @ 42ce143791ef5d00e1c98c3a7aa13808d88efd88

System and user configuration, managed by nix and home-manager

router: relax ntpd restrictions on local network

Alin
commit

42ce143791ef5d00e1c98c3a7aa13808d88efd88

parent

ca99a0a0d03ae18c94a94a49df50d20a317bc665

1 file changed, 9 insertions(+), 0 deletions(-)

changed files
M system/roles/router.nix → system/roles/router.nix
@@ -385,4 +385,13 @@ redir https://{host}.${domain}
''; }; }; + + services.ntp.extraConfig = + let + localRestrictions = "nomodify"; + in + '' + restrict ${ulaPrefix}/48 ${localRestrictions} + restrict 10.0.0.0/16 ${localRestrictions} + ''; }