{ config, lib, ... }: with lib; { options.hpc.netinstall = { enable = mkEnableOption "NetInstall"; }; config = mkIf config.hpc.netinstall.enable { deployment.tags = [ "netinstall" ]; assertions = [ { assertion = elem "data" config.hpc.dhcp.reservations; message = "NetInstall needs DHCP reservation in data network"; } ]; }; }