From 423b0fb29b19695fb00970016919f5ffe47d45a7 Mon Sep 17 00:00:00 2001 From: Daniel Olsen Date: Sat, 10 Dec 2022 10:16:15 +0100 Subject: [PATCH] switch to systemd-resolved and add domains to search for fqdns from hostnames --- base.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/base.nix b/base.nix index b3857c5..b5f6c84 100644 --- a/base.nix +++ b/base.nix @@ -7,6 +7,12 @@ networking.domain = "pvv.ntnu.no"; networking.useDHCP = false; + networking.search = [ "pvv.ntnu.no" "pvv.org" ]; + + services.resolved = { + enable = true; + dnssec = "false"; # Supposdly this keeps breaking and the default is to allow downgrades anyways... + }; time.timeZone = "Europe/Oslo";