Observations of a solar flare and filament eruption in Lyman α and X-rays