I followed the steps in this superb guide to setup Matrix & Jitsi from scratch to rather do it in NixOS and here is my own rundown of the same

Declarative, Decentralised, and Secure communication via Matrix, Jitsi, & NixOS