Apply suggestions from code review

This commit is contained in:
Charlotte 🦝 Delenk 2022-12-14 18:16:18 +01:00 committed by GitHub
parent dcc4e75c1e
commit 2992707a7c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,6 +5,9 @@
hosts-list,
...
}: let
internalIP = import ../../utils/getInternalIP.nix config;
createListenEntry = ip: "inet ${ip} port 8653 allow { any; };";
listenEntries = builtins.map createListenEntry internalIP.listenIPsBare;
mkZone = name: {
master = false;
masters = ["fd0d:a262:1fa6:e621:b4e1:8ff:e658:6f49"];