aboutsummaryrefslogtreecommitdiffstats
path: root/hosts/darkstar/services.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/darkstar/services.nix')
-rw-r--r--hosts/darkstar/services.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/hosts/darkstar/services.nix b/hosts/darkstar/services.nix
index 90face3..323080c 100644
--- a/hosts/darkstar/services.nix
+++ b/hosts/darkstar/services.nix
@@ -1,4 +1,13 @@
{
+ networking.nftables.tables.ntp = {
+ content = ''
+ define int_if = enp116s0
+ iifname $int_if udp dport ntp accept # 123
+ '';
+ enable = true;
+ family = inet;
+ };
+
services.chrony = {
enable = true;
extraConfig = ''