From 75be58861b06463f196dbd493b99c0b010a6cc35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20B=C3=B6hme?= Date: Fri, 24 Feb 2023 18:42:37 +0100 Subject: [PATCH] wireguard: add dns --- modules/services/wireguard.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/services/wireguard.nix b/modules/services/wireguard.nix index 8b0bbfb..2c81285 100644 --- a/modules/services/wireguard.nix +++ b/modules/services/wireguard.nix @@ -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=";