configuration.nix/hosts/shared/network.nix

14 lines
218 B
Nix

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