nixdots/system/network.nix
2024-02-24 22:37:38 +01:00

17 lines
305 B
Nix

{lib, ...}:
{
networking = {
firewall.enable = false;
networkmanager = {
enable = true;
dns = "systemd-resolved";
};
};
services.resolved.enable = true;
# Don't wait for network manager startup
systemd.services.NetworkManager-wait-online.enable = lib.mkForce false;
}