configuration.nix/hosts/shared/network.nix

15 lines
215 B
Nix
Raw Normal View History

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