summaryrefslogtreecommitdiff
path: root/modules/wireguard.nix
diff options
context:
space:
mode:
authorGrigory Shipunov2022-06-11 23:28:31 +0200
committerGrigory Shipunov2022-06-11 23:28:31 +0200
commitf422ad701ce41373e7a293160faf5a19eeea19fa (patch)
tree411df2ce3e39385a9bae2c3010f4e090e92fad5b /modules/wireguard.nix
parent3924624e7516464d2f24cd19b62c02072436850c (diff)
nixpkgs-fmt
Diffstat (limited to 'modules/wireguard.nix')
-rw-r--r--modules/wireguard.nix10
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";