You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
395 B
14 lines
395 B
{ 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; }
|
|
];
|
|
};
|
|
}
|
|
|