It is shown that the magnetic-field coils of a stellarator can, at least in principle, be substantially simplified by the use of permanent magnets. Such magnets cannot create toroidal magnetic flux but they can be used to shape the plasma and thus to create poloidal flux and rotational transform, thereby easing the requirements on the magnetic-field coils. As an example, a quasiaxisymmetric stellarator configuration is constructed with only 8 circular coils (all identical) and permanent magnets.