[fanny] set vpn pubkey
All checks were successful
Check flake syntax / flake-check (push) Successful in 4m53s

This commit is contained in:
2025-11-15 16:07:17 +01:00
parent 4d4e9d980b
commit 73c482ece0

View File

@@ -102,8 +102,8 @@ in
};
wireguardConfig = { PrivateKeyFile = "/etc/secrets/30-wg-initrd.key"; };
wireguardPeers = [{
AllowedIPs = peers.fanny-initrd.allowedIPs;
PublicKey = peers.fanny-initrd.publicKey;
AllowedIPs = peers.vpn.allowedIPs;
PublicKey = peers.vpn.publicKey;
Endpoint = "${peers.vpn.publicIp}:${builtins.toString(peers.vpn.listenPort)}";
PersistentKeepalive = 25;
}];