blob: 0f3768fa9bbea6953761f3e55f68451751b1f89a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
{ config, ... }:
{
networking.wireguard.interfaces."intranet" = {
ips = [ "10.13.12.2" ];
privateKeyFile = "/var/lib/wireguard/keys/private";
peers = [
{ publicKey = "ugHG/NOqM/9hde9EmWpu7XsCpjT3WQbjLK99IGHtdjQ=";
allowedIPs = [ "10.13.12.0/24" "10.172.171.0/24" ];
endpoint = "hyperion.kookie.space:51820";
persistentKeepalive = 25; }
];
};
}
|