I’d love to have a system wide build cache as compile times are lengthy even with a Ryzen 9 5950X.
Currently the NIX documentation for CCache specifies that relevant packages should be declared but I’m clueless how to properly do this globally as I’m still new to NIX.
If you only build a few leaf packages as part of a NixOS closure, use the ccache module and declare their attribute names in programs.ccache.packageNames.