patos/modules/network.nix

18 lines
324 B
Nix
Raw Normal View History

2024-11-10 14:19:29 +01:00
{ config, ... }:
{
2024-09-12 21:57:01 +02:00
networking = {
useNetworkd = true;
2024-11-10 14:19:29 +01:00
hostName = "";
2024-09-12 21:57:01 +02:00
# Easy debugging.
firewall.enable = false;
};
services.resolved = {
fallbackDns = [ ]; # Disable fallback DNS. DNS will fail if resolvers are unconfigured
};
2024-09-12 21:57:01 +02:00
# Faster boot.
systemd.network.wait-online.enable = false;
}