nixdots/system/shared/network.nix

20 lines
265 B
Nix
Raw Permalink Normal View History

{ 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
}