nixdots/system/shared/network.nix
2024-07-27 01:07:07 +02:00

19 lines
263 B
Nix

{lib, ...}: {
networking = {
firewall.enable = false;
networkmanager = {
enable = true;
dns = "systemd-resolved";
};
};
services.resolved = {
enable = true;
fallbackDns = [
"9.9.9.9"
"2620:fe::fe"
];
};
}