Fix paths to decrypted secrets

This commit is contained in:
Lukas Stancik
2025-03-17 17:41:08 +00:00
parent 5e4722d0d9
commit 64ec3e48b4
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
DisableHT=true DisableHT=true
[Security] [Security]
Passphrase=<% cat src/wifi-password.txt %> Passphrase=<% cat secrets/wifi-password.txt %>
[IPv4] [IPv4]
Address=<%= $wlan0_address %> Address=<%= $wlan0_address %>
+2 -2
View File
@@ -1,12 +1,12 @@
[Interface] [Interface]
ListenPort = <%= $wg_port %> ListenPort = <%= $wg_port %>
PrivateKey = <%= $(cat src/wireguard.private.key) %> PrivateKey = <%= $(cat secrets/wireguard.private.key) %>
Address = <%= $wg0_address %> Address = <%= $wg0_address %>
DNS = <%= $wg0_gateway %> DNS = <%= $wg0_gateway %>
MTU = 1280 MTU = 1280
[Peer] [Peer]
PublicKey = <%= $(cat src/wireguard.public.key) %> PublicKey = <%= $(cat secrets/wireguard.public.key) %>
Endpoint = <%= $wg_server %>:<%= $wg_port %> Endpoint = <%= $wg_server %>:<%= $wg_port %>
AllowedIPs = 0.0.0.0/0 AllowedIPs = 0.0.0.0/0
PersistentKeepalive = 25 PersistentKeepalive = 25