Hitting another brick wall trying to organize my Guix configuration files -> error: home-emacs-config-service-type: unbound variable

Still following the tutorial:

$ guix home -L ~/dotfiles reconfigure ~/dotfiles/config/home/home-config.scm
ice-9/eval.scm:223:20: In procedure proc:
error: home-emacs-config-service-type: unbound variable
hint: Did you forget `(use-modules (config home services emacs-config))' or `#:use-module (config home services emacs-config)'?

I’ve found that the guile scheme error messages can be somewhat cryptic. For example, I’ve run into an issue like this multiple times which, after some debugging in the REPL, turned out to actually be an unmentioned issue in emacs-config.scm. I’d recommend trying to evaluate the file line by line with something like geiser or loading the file directly in the REPL

This is not defined anywhere so you can remove it first as a try. I don’t think you will need it in your real system.