forked from kalipso/infrastructure
[fanny] set vpn pubkey
This commit is contained in:
@@ -102,8 +102,8 @@ in
|
|||||||
};
|
};
|
||||||
wireguardConfig = { PrivateKeyFile = "/etc/secrets/30-wg-initrd.key"; };
|
wireguardConfig = { PrivateKeyFile = "/etc/secrets/30-wg-initrd.key"; };
|
||||||
wireguardPeers = [{
|
wireguardPeers = [{
|
||||||
AllowedIPs = peers.fanny-initrd.allowedIPs;
|
AllowedIPs = peers.vpn.allowedIPs;
|
||||||
PublicKey = peers.fanny-initrd.publicKey;
|
PublicKey = peers.vpn.publicKey;
|
||||||
Endpoint = "${peers.vpn.publicIp}:${builtins.toString(peers.vpn.listenPort)}";
|
Endpoint = "${peers.vpn.publicIp}:${builtins.toString(peers.vpn.listenPort)}";
|
||||||
PersistentKeepalive = 25;
|
PersistentKeepalive = 25;
|
||||||
}];
|
}];
|
||||||
|
|||||||
Reference in New Issue
Block a user