wireguard: add dns

nixos
Moritz Böhme 2023-02-24 18:42:37 +01:00
parent 55c7f4d57d
commit 75be58861b
Signed by: moritz
GPG Key ID: 970C6E89EB0547A9
1 changed files with 1 additions and 0 deletions

View File

@ -25,6 +25,7 @@ in
address = [ "10.8.0.3/24" ];
listenPort = 51820;
privateKeyFile = "/run/agenix/wireguard-private-key";
dns = [ "192.168.0.4" "9.9.9.9" ];
peers = [
{
publicKey = "bT/U8ko3i//vH8LNn2R56JkGMg+0GLFrZSF81BBax08=";