Youre also going to need a mouse and keyboard. Wed recommend giving the Magic Mouse a miss and opting for a Magic Trackpad or ...
The M4 Mac Mini offers a smaller footprint with better performance, but it isn't a compelling upgrade for everyone.