use explicit dns setup on the servers

This commit is contained in:
Cyryl Płotnicki 2023-01-01 12:25:16 +00:00
parent 8348f5ec9b
commit 212d4a5d6f

View file

@ -1,8 +1,10 @@
{ { config, pkgs, ... }: {
config,
pkgs,
...
}: {
imports = [ ./server-security.nix ./tailscale ]; imports = [ ./server-security.nix ./tailscale ];
networking.nameservers =
[ "9.9.9.9" "2620:fe::fe" "149.112.112.112" "2620:fe::9" ];
services.nscd = {
enable = true;
enableNsncd = true;
};
system.stateVersion = "22.05"; system.stateVersion = "22.05";
} }