From 4cd30f6c28f325f34a7773129453c833916f9661 Mon Sep 17 00:00:00 2001 From: Crony Akatsuki Date: Sun, 16 Feb 2025 12:53:40 +0100 Subject: [PATCH] Install systemd-resolved. --- hosts/nixos/configuration.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hosts/nixos/configuration.nix b/hosts/nixos/configuration.nix index 4dd4628..02bfb53 100644 --- a/hosts/nixos/configuration.nix +++ b/hosts/nixos/configuration.nix @@ -36,6 +36,11 @@ # Enable networking networking.networkmanager.enable = true; + networking.nameservers = ["192.168.0.10" "1.1.1.1"]; + services.resolved = { + enable = true; + fallbackDns = ["192.168.0.10" "1.1.1.1"]; + }; # Set your time zone. time.timeZone = "Europe/Zagreb";