generate local config

This commit is contained in:
2026-03-02 18:38:10 +01:00
parent ccdb380b50
commit 004e59f708

2
wg.mk
View File

@@ -20,3 +20,5 @@ wgkeys.rec: wireguard/dmz_public_key
git commit -m"add wireguard key for $(name)"
$(info Remember to git push)
wireguard/dmz.conf: xecut/nimbus/dmz.conf | wireguard/dmz_private_key
sed 's/PRIVATE_KEY/$(shell cat $|)/' $< > $@