use cat for injecting nix-sops secrets in chezmoi and readd configs for bulwark and adjudicator

This commit is contained in:
Tyler Starr 2023-11-22 01:12:18 -08:00
parent a15f1c72f8
commit afdff4d779
3 changed files with 24 additions and 0 deletions

2
home/.chezmoi.yaml Normal file
View File

@ -0,0 +1,2 @@
secret:
command: "cat"

View File

@ -0,0 +1,11 @@
[Interface]
# your own IP on the wireguard network
Address = 192.168.3.2/24
PrivateKey = {{ (secret "/run/secrets/wireguard/adjudicator") }}
[Peer]
PublicKey = bd7bbZOngl/FTdBlnbIhgCLNf6yx5X8WjiRB7E1NEQQ=
# restrict this to the wireguard subnet if you don't want to route everything to the tunnel
AllowedIPs = 0.0.0.0/0, ::/0
# ip and port of the peer
Endpoint = 66.218.43.87:51820

View File

@ -0,0 +1,11 @@
[Interface]
# your own IP on the wireguard network
Address = 192.168.3.4/24
PrivateKey = {{ (secret "/run/secrets/wireguard/bulwark") }}
[Peer]
PublicKey = bd7bbZOngl/FTdBlnbIhgCLNf6yx5X8WjiRB7E1NEQQ=
# restrict this to the wireguard subnet if you don't want to route everything to the tunnel
AllowedIPs = 0.0.0.0/0, ::/0
# ip and port of the peer
Endpoint = 66.218.43.87:51820