diff options
Diffstat (limited to 'modules/wireguard.nix')
| -rw-r--r-- | modules/wireguard.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/wireguard.nix b/modules/wireguard.nix index d989570..17be0d0 100644 --- a/modules/wireguard.nix +++ b/modules/wireguard.nix @@ -3,8 +3,8 @@ { networking.wg-quick.interfaces = { wg-zw = { - privateKeyFile=config.sops.secrets."wg/wg-zw-seckey".path; - address = ["172.20.76.226" ]; + privateKeyFile = config.sops.secrets."wg/wg-zw-seckey".path; + address = [ "172.20.76.226" ]; dns = [ "172.20.73.8" ]; peers = [ { @@ -15,7 +15,7 @@ ]; }; wg-dvb = { - privateKeyFile=config.sops.secrets."wg/wg-dvb-seckey".path; + privateKeyFile = config.sops.secrets."wg/wg-dvb-seckey".path; address = [ "10.13.37.3/32" ]; peers = [ @@ -29,11 +29,11 @@ }; mlwd-nl = { - privateKeyFile=config.sops.secrets."wg/mlwd-nl-seckey".path; + privateKeyFile = config.sops.secrets."wg/mlwd-nl-seckey".path; address = [ "10.65.79.164/32" "fc00:bbbb:bbbb:bb01::2:4fa3/128" ]; dns = [ "193.138.218.74" ]; - peers = [ { + peers = [{ publicKey = "StMPmol1+QQQQCJyAkm7t+l/QYTKe5CzXUhw0I6VX14="; allowedIPs = [ "0.0.0.0/0" "::0/0" ]; endpoint = "92.60.40.194:51820"; |
