{ lib, config, ... }: with lib; { options.hpc.dhcp = { reservations = mkOption { description = '' DHCP reservations for this host. ''; type = types.attrsOf (types.submodule { options = { hwAddress = mkOption { description = '' MAC address of the interface in this network. ''; type = types.str; apply = toLower; }; ipAddress = mkOption { description = '' IP address of the host. ''; }; }; }); default = { }; }; }; }