nixdots/system/network.nix

17 lines
305 B
Nix
Raw Normal View History

2024-02-24 21:24:22 +00:00
{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;
}