configuration.nix/hosts/shared/network.nix

16 lines
239 B
Nix
Raw Normal View History

{ lib, ... }: {
networking = {
nameservers = [
"10.10.10.10"
];
useDHCP = lib.mkDefault false;
};
services.resolved = {
enable = true;
dnssec = "true";
2024-07-14 18:18:57 +05:30
domains = [ "~." ];
fallbackDns = [ ];
};
}