How can I prevent Doom Emacs from pointlessly downloading emacs packages whenever I update it and instead load the ones provided by Guix?

I have this in my Doom configuration but I have no idea about how to test if it's working, and anyway Doom still dowloads i.e. undo-tree which I installed in my Guix profile