1
0
Fork 0

Add pegasus wg

This commit is contained in:
Malte Brandy 2021-12-17 03:29:43 +01:00
parent e50e447a1d
commit 910acd1cb8
3 changed files with 7 additions and 0 deletions

View file

@ -86,6 +86,7 @@ with lib;
fluffy = "${prefix}::2";
apollo = "${prefix}::5";
zeus = "${prefix}::4";
pegasus = "${prefix}::6";
};
hera-wg-host = "${p}::100:0:1";

View file

@ -5,5 +5,6 @@
apollo = "hYziEwk74g7v7GpIafLvC95dje2BI4saoEtJXXu2txs=";
zeus = "GmMgJForLglBmXhvLD/sUoZMy2xwavHietmBOLTSvkI=";
fluffy = "uA9hJWDjAQENPtPPb/osNyfchy++k8TrohxXnrp9nSs=";
pegasus = "r0Zz/grgJ9Pre4O4D4PhxAq9wjW96yqQtc0x7VtYY3A=";
};
}

View file

@ -81,6 +81,11 @@ in
allowedIPs = [ "${hosts.vpn.fluffy}/128" ];
presharedKeyFile = pkgs.privatePath "wireguard/psk";
}
{
publicKey = wireguard.pub.pegasus;
allowedIPs = [ "${hosts.vpn.pegasus}/128" ];
presharedKeyFile = pkgs.privatePath "wireguard/psk";
}
];
};
};