configuration.nix/hosts/shared/network.nix

15 lines
218 B
Nix
Raw Normal View History

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