aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Nipper <nipsy@bitgnome.net>2024-06-13 01:26:31 -0700
committerMark Nipper <nipsy@bitgnome.net>2024-06-13 01:26:31 -0700
commit6ae8a0bc98f3b787ed50e4401eca633ee1b1fbbc (patch)
treec3c1dbf0a6dbca199ac63abc31d69ce1b58fe9b8
parent955088a064ae9838f37cf8a318c951849ee4d9a4 (diff)
downloadnix-6ae8a0bc98f3b787ed50e4401eca633ee1b1fbbc.tar
nix-6ae8a0bc98f3b787ed50e4401eca633ee1b1fbbc.tar.gz
nix-6ae8a0bc98f3b787ed50e4401eca633ee1b1fbbc.tar.bz2
nix-6ae8a0bc98f3b787ed50e4401eca633ee1b1fbbc.tar.lz
nix-6ae8a0bc98f3b787ed50e4401eca633ee1b1fbbc.tar.xz
nix-6ae8a0bc98f3b787ed50e4401eca633ee1b1fbbc.tar.zst
nix-6ae8a0bc98f3b787ed50e4401eca633ee1b1fbbc.zip
Fix syntax
Diffstat (limited to '')
-rw-r--r--hosts/darkstar/services.nix8
1 files changed, 6 insertions, 2 deletions
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 = {