mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-03-28 14:50:55 +01:00
feat: generalize dns serial script to all zones
This commit is contained in:
parent
b08966128c
commit
9a8cded846
1 changed files with 3 additions and 1 deletions
|
@ -87,7 +87,9 @@ lib.mkMerge [
|
||||||
echo "0" > ${stateDir}/counter
|
echo "0" > ${stateDir}/counter
|
||||||
new_value="0"
|
new_value="0"
|
||||||
fi
|
fi
|
||||||
sed -i "3s/0/$new_value/" ${stateDir}/zones/julienmalka.me
|
for file in ${stateDir}/zones/*; do
|
||||||
|
sed -i "3s/0/$new_value/" "$file"
|
||||||
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
networking.firewall.allowedUDPPorts = [ 53 ];
|
networking.firewall.allowedUDPPorts = [ 53 ];
|
||||||
|
|
Loading…
Add table
Reference in a new issue