configuration.nix/hosts/shared/network.nix

16 lines
238 B
Nix
Raw Normal View History

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