From f8a7df435e4e706abbdb9fc34223e048344b92a6 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Sun, 8 Dec 2024 02:49:28 +0100 Subject: [PATCH] Enable DNS on the server --- profiles/machines/manuel/server.nix | 5 +++++ scripts/Arch/Software/systemd-networkd/main.fish | 1 + 2 files changed, 6 insertions(+) diff --git a/profiles/machines/manuel/server.nix b/profiles/machines/manuel/server.nix index dc0c9104..de6b0c97 100644 --- a/profiles/machines/manuel/server.nix +++ b/profiles/machines/manuel/server.nix @@ -87,6 +87,11 @@ in { "94.130.48.193" "fe80::1" ]; + + DNS = [ + "5.9.164.112" + "1.1.1.1" + ]; }; Address = { diff --git a/scripts/Arch/Software/systemd-networkd/main.fish b/scripts/Arch/Software/systemd-networkd/main.fish index ea2435f9..7664f006 100644 --- a/scripts/Arch/Software/systemd-networkd/main.fish +++ b/scripts/Arch/Software/systemd-networkd/main.fish @@ -6,6 +6,7 @@ begin function configureSW -V dir systemctl enable systemd-networkd + systemctl enable systemd-resolved configureSWBase $argv end