system/wireguard: use cloudflare dns
This commit is contained in:
parent
3ebd082be2
commit
203bc2ab53
1 changed files with 1 additions and 0 deletions
|
|
@ -120,6 +120,7 @@ let
|
|||
in {
|
||||
wg0 = {
|
||||
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;
|
||||
|
||||
peers = [ serverPeer ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue