fix(jeeves): wireguard peer's PublicKey should not be a file

This commit is contained in:
reo101 2023-10-23 09:24:31 +03:00
parent a4004be93e
commit c707909f4f
Signed by: reo101
GPG key ID: 675AA7EF13964ACB
3 changed files with 1 additions and 22 deletions

View file

@ -18,11 +18,6 @@
file = ../../../../secrets/home/wireguard/server.public.age;
};
# Peers
age.secrets."wireguard/cheetah.pub" = {
file = ../../../../secrets/home/wireguard/cheetah.pub.age;
};
networking.firewall.allowedUDPPorts = [51820];
systemd.network = {
netdevs = {
@ -40,7 +35,7 @@
{
# cheetah
wireguardPeerConfig = {
PublicKey = config.age.secrets."wireguard/cheetah.pub".path;
PublicKey = "CFTGvBcly791ClwyS6PzTjmqztvYJW2eklR7it/QhxI=";
AllowedIPs = [
"0.0.0.0/0"
# "::/0"