If anyone is looking for a build system to try C++20 modules with GCC, there is build2: https://build2.org/blog/build2-cxx20-modules-gcc.xhtml
There is also a repository of module examples (some trying to imitate real-world usage like distributing modules as part of a library): https://github.com/build2/cxx20-modules-examples/