summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian <[email protected]>2026-06-30 21:25:42 -0500
committerChristian <[email protected]>2026-06-30 21:25:42 -0500
commitf3d7a754cb41b7b2a3e7fd74ad5a3d8667b011c2 (patch)
tree1538ad3092efdb20f65053174f6c8db5a78aded1
parent2a7bdca90c3301b884a4f0452f48a07fbb4f19d7 (diff)
Add homelab dns server to wireguard config and reenable wireguard on desktop
-rw-r--r--hosts/desktop/configuration.nix1
-rw-r--r--modules/wireguard.nix1
2 files changed, 2 insertions, 0 deletions
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 = [
{