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;
|
|
|
|
};
|
|
|
|
|
2024-11-10 14:19:29 +01:00
|
|
|
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;
|
|
|
|
}
|