There are a lot of designs of a case for the Raspberry Pi, but most of them are intended to fit with multi-purpose, i.e., provide access to any connectors on the Raspberry Pi.
I use Raspberry Pi Zero 2 W as a simple Linux server, so I don't need to access GPIO and camera. Also, once installed, there is no need to access the micro SD Card.
I need to access mini HDMI and micro USB.
I need to check the status of the Raspberry Pi from the LED.
I want to attach the case to the wall with a magnet.
I don't want to use any additional screws. The cover should be snapped on the case.
Update (October 2023)
To make the surface of the cover more smooth and clean, I changed the cover's design by making the ventilator hole smaller (updated FreeCad source file and cover.stl) and optimized slicer settings (updated 3mf file).
New design
Old design
Instructions
Install the configured SD Card into the Raspberry Pi, and place it in the case.
Snap on the cover.
I'm using two pieces of the 16mm diameter, 2mm thickness round magnet.
If you slice using the attached 3mf file, please insert magnets when the print stops and resume the print.
If you have different shape magnets, open the attached FCStd file using FreeCad and modify the shape of Sketch007 to fit with your magnet. Also, change the length of Pocket001 to hold your magnet's thickness. Use a magnet less than 2mm thick; otherwise, you need to change the overall height of the case.