{ config, lib, ... }: let inherit (config.machine.prometheus) enable port ; in with lib; mkIf enable { services.prometheus = { inherit enable port; }; }