From 6ae8a0bc98f3b787ed50e4401eca633ee1b1fbbc Mon Sep 17 00:00:00 2001 From: Mark Nipper Date: Thu, 13 Jun 2024 01:26:31 -0700 Subject: Fix syntax --- hosts/darkstar/services.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'hosts/darkstar/services.nix') diff --git a/hosts/darkstar/services.nix b/hosts/darkstar/services.nix index 323080c..16a945d 100644 --- a/hosts/darkstar/services.nix +++ b/hosts/darkstar/services.nix @@ -2,10 +2,14 @@ networking.nftables.tables.ntp = { content = '' define int_if = enp116s0 - iifname $int_if udp dport ntp accept # 123 + + chain input { + type filter hook input priority filter - 1; policy accept; + iifname $int_if udp dport ntp accept # 123 + } ''; enable = true; - family = inet; + family = "inet"; }; services.chrony = { -- cgit v1.2.3