Reformat everything
All checks were successful
/ test (push) Successful in 32s

This commit is contained in:
Andrea Ciceri 2024-09-20 11:37:17 +02:00
parent 5f644d0ccd
commit a394b9cefd
Signed by: aciceri
SSH key fingerprint: SHA256:/AagBweyV4Hlfg9u092n8hbHwD5fcB6A3qhDiDA65Rg
167 changed files with 2795 additions and 2122 deletions

View file

@ -2,16 +2,17 @@
config,
vpn,
...
}: {
imports = [../wireguard-common];
}:
{
imports = [ ../wireguard-common ];
networking.wireguard.interfaces.wg0 = {
mtu = 1200;
ips = ["${vpn.${config.networking.hostName}.ip}/32"];
ips = [ "${vpn.${config.networking.hostName}.ip}/32" ];
peers = [
{
publicKey = vpn.sisko.publicKey;
allowedIPs = ["10.100.0.0/24"];
allowedIPs = [ "10.100.0.0/24" ];
endpoint = "vpn.aciceri.dev:51820";
persistentKeepalive = 25;
}