configuration.nix/hosts/shared/network.nix

14 lines
215 B
Nix

{ lib, ... }: {
networking = {
nameservers = [
"10.10.10.10"
];
useDHCP = lib.mkDefault false;
};
services.resolved = {
enable = true;
dnssec = "true";
fallbackDns = [ ];
};
}