Export nixos configuration description into a file

Hello,

I’m using colmena to deploy configurations on a couple of servers.

I would like to generate a report that resumes for each server (nodes in hive.nix) what is installed on it : databases list, services, systemd.timers etc

Is there a way to achieve this ?