summaryrefslogtreecommitdiffstats
path: root/krebs
diff options
context:
space:
mode:
authorlassulus <git@lassul.us>2023-09-04 20:35:32 +0200
committerlassulus <git@lassul.us>2023-09-04 20:35:32 +0200
commit245dd8b67ffe133dbff76a59a4f9e7f5401f7aec (patch)
tree3e55728fa86a10c37ad3b675597636703305aa18 /krebs
parent1105d9ef32d5512b0e6eee7fb6c8d7e0435a893c (diff)
iptables: use upstream writers
Diffstat (limited to 'krebs')
-rw-r--r--krebs/3modules/iptables.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/krebs/3modules/iptables.nix b/krebs/3modules/iptables.nix
index c1c5b68c8..32a5273a5 100644
--- a/krebs/3modules/iptables.nix
+++ b/krebs/3modules/iptables.nix
@@ -177,7 +177,7 @@ let
${buildTables iptables-version cfg.tables}
'';
- startScript = pkgs.writeDash "krebs-iptables_start" ''
+ startScript = pkgs.writers.writeDash "krebs-iptables_start" ''
set -euf
iptables-restore < ${rules "v4"}
ip6tables-restore < ${rules "v6"}