configuration.nix/hosts/shared/network.nix

15 lines
238 B
Nix

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