nixdots/system/shared/network.nix

19 lines
263 B
Nix
Raw Normal View History

2024-07-26 23:07:07 +00:00
{lib, ...}: {
2024-02-24 21:24:22 +00:00
networking = {
firewall.enable = false;
networkmanager = {
enable = true;
dns = "systemd-resolved";
};
};
2024-03-19 07:30:04 +00:00
services.resolved = {
enable = true;
fallbackDns = [
"9.9.9.9"
"2620:fe::fe"
];
2024-03-19 07:30:04 +00:00
};
2024-02-24 21:24:22 +00:00
}