Connect picard
to the MLabs VPN
This commit is contained in:
parent
c6f951a347
commit
650c787cdc
5 changed files with 35 additions and 0 deletions
15
modules/wireguard-mlabs/default.nix
Normal file
15
modules/wireguard-mlabs/default.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
networking.wireguard.interfaces.wg1 = {
|
||||
ips = [ "10.10.1.1/32" ];
|
||||
peers = [
|
||||
{
|
||||
publicKey = "A4u2Rt5WEMHOAc6YpDABkqAy2dzzFLH9Gn8xWcKaPQQ=";
|
||||
allowedIPs = [ "10.10.0.0/16" ];
|
||||
endpoint = "vpn.staging.mlabs.city:51820";
|
||||
persistentKeepalive = 25;
|
||||
}
|
||||
];
|
||||
privateKeyFile = config.age.secrets.wireguard-mlabs-private-key.path;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue