system/wireguard: use cloudflare dns

This commit is contained in:
LavaDesu 2025-05-20 12:32:36 +10:00
parent 3ebd082be2
commit 203bc2ab53
Signed by: cilly
GPG key ID: 6500251E087653C9

View file

@ -120,6 +120,7 @@ let
in { in {
wg0 = { wg0 = {
address = client.allowedIPs; address = client.allowedIPs;
dns = [ "2606:4700:4700::1111" "2606:4700:4700::1001" "1.1.1.1" "1.0.0.1" ];
privateKeyFile = config.age.secrets."wg_${config.networking.hostName}".path; privateKeyFile = config.age.secrets."wg_${config.networking.hostName}".path;
peers = [ serverPeer ]; peers = [ serverPeer ];