switch to systemd-resolved and add domains to search for fqdns from hostnames

This commit is contained in:
Daniel Olsen 2022-12-10 10:16:15 +01:00
parent 71be92b790
commit 423b0fb29b
1 changed files with 6 additions and 0 deletions

View File

@ -7,6 +7,12 @@
networking.domain = "pvv.ntnu.no"; networking.domain = "pvv.ntnu.no";
networking.useDHCP = false; 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"; time.timeZone = "Europe/Oslo";