From 4f2a7b14e763e46713e664c958466eb33ab314eb Mon Sep 17 00:00:00 2001 From: albert Date: Wed, 17 Apr 2024 14:51:37 +0900 Subject: [PATCH] Add wireguard config for mailserver --- nixos/hosts/osaka-linode-01/wireguard.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nixos/hosts/osaka-linode-01/wireguard.nix b/nixos/hosts/osaka-linode-01/wireguard.nix index 6ef1e970..7f1ed2a5 100644 --- a/nixos/hosts/osaka-linode-01/wireguard.nix +++ b/nixos/hosts/osaka-linode-01/wireguard.nix @@ -65,8 +65,15 @@ allowedIPs = [ "10.100.1.2/32" ]; persistentKeepalive = 5; } + { # framewrk-server docker:wg-mailserver + publicKey = "5C1ft3LIGmyFwi00pyLeYjvJpqHLTQFNMRlXlva6uEI="; + presharedKeyFile = "/run/secrets/preshared_key"; + allowedIPs = [ "10.100.1.3/32" ]; + persistentKeepalive = 5; + } ]; }; }; }; } +