summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 = [
{