configuration.nix/hosts/shared/network.nix

15 lines
239 B
Nix

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