Power supplies for enclosures