From 1eba94ee89345f6a3495f84b92d3f693ba422b79 Mon Sep 17 00:00:00 2001 From: Bauke Date: Tue, 17 Oct 2023 12:05:08 +0200 Subject: [PATCH] Make Azedia the DNS for Stardust. --- .bauke/nix/stardust/system.nix | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/.bauke/nix/stardust/system.nix b/.bauke/nix/stardust/system.nix index 0e4a42b..e2a0695 100644 --- a/.bauke/nix/stardust/system.nix +++ b/.bauke/nix/stardust/system.nix @@ -79,7 +79,20 @@ networking = { hostName = "stardust"; - networkmanager.enable = true; + networkmanager = { + enable = true; + # There is an issue with NetworkManager and nameservers not being added to + # "/etc/resolv.conf" on `nixos-rebuild switch`, that's why they're + # specified twice. To make it work, right-click the NetworkManager tray + # icon and toggle "Enable Networking", then check "/etc/resolv.conf" that + # this IP is at the top. + insertNameservers = [ + "192.168.0.202" + ]; + }; + nameservers = [ + "192.168.0.202" + ]; }; security = {