From f3d7a754cb41b7b2a3e7fd74ad5a3d8667b011c2 Mon Sep 17 00:00:00 2001 From: Christian Date: Tue, 30 Jun 2026 21:25:42 -0500 Subject: Add homelab dns server to wireguard config and reenable wireguard on desktop --- hosts/desktop/configuration.nix | 1 + modules/wireguard.nix | 1 + 2 files changed, 2 insertions(+) diff --git a/hosts/desktop/configuration.nix b/hosts/desktop/configuration.nix index 608af3e..1774637 100644 --- a/hosts/desktop/configuration.nix +++ b/hosts/desktop/configuration.nix @@ -14,6 +14,7 @@ ../../modules/llm.nix # ../../modules/local-llm.nix ../../modules/kvm.nix + ../../modules/wireguard.nix ]; boot.loader.grub = { diff --git a/modules/wireguard.nix b/modules/wireguard.nix index 3138a5f..43ffed1 100644 --- a/modules/wireguard.nix +++ b/modules/wireguard.nix @@ -16,6 +16,7 @@ networking.wg-quick.interfaces.wg0 = { autostart = false; address = [ config.custom.wireguardAddress ]; + dns = [ "10.67.40.1" ]; privateKeyFile = "/etc/wireguard/wg0.key"; peers = [ { -- cgit v1.2.3