nixos-config/common/networking.nix
Christoph Heiss 3ab8f0088e
common: networking: Actually enable DHCP too for all machines
Fixes: dc9e47b ("machines: serv,zero: Switch to DHCP auto-configuration")
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
2023-10-26 22:33:05 +02:00

13 lines
201 B
Nix

{ lib, ... }:
{
networking = {
useDHCP = lib.mkDefault true;
usePredictableInterfaceNames = true;
firewall = {
allowPing = true;
logRefusedConnections = false;
};
};
}