about summary refs log tree commit diff
path: root/modules/wireguard.nix
diff options
context:
space:
mode:
authorazahi <azat@bahawi.net>2024-10-28 02:41:15 +0300
committerazahi <azat@bahawi.net>2024-10-28 02:41:15 +0300
commitdfa3b61db0e5c4ab5d35af1bf06af1fb27ba659a (patch)
tree11641ba75d50b63b14086305196e26a8f5f5e700 /modules/wireguard.nix
parent2024-10-26 (diff)
2024-10-28
Diffstat (limited to 'modules/wireguard.nix')
-rw-r--r--modules/wireguard.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/wireguard.nix b/modules/wireguard.nix
index f60ea92..3589e12 100644
--- a/modules/wireguard.nix
+++ b/modules/wireguard.nix
@@ -17,6 +17,8 @@ let
     ''
       ${resolvectl} dns ${cfg.interface} ${cfg.server.ipv6.address} ${cfg.server.ipv4.address}
       ${resolvectl} domain ${cfg.interface} ${my.domain.shire}
+      ${resolvectl} dnssec ${cfg.interface} no
+      ${resolvectl} dnsovertls ${cfg.interface} no
     '';
 in
 {
@@ -147,7 +149,7 @@ in
               "${ipv4.address}/16"
               "${ipv6.address}/16"
             ];
-            extraInterfaceConfig = mkIf this.isHeadful ''
+            extraInterfaceConfig = ''
               jc = 228
               jmin = 42
               jmax = 420

Consider giving Nix/NixOS a try! <3