How-To use the emacs-overlay with Home Manager and flakes?

I want to apply the emacs-overlay so that I can install emacsPgtkGcc using Home Manager. I’ve configured HM as a NixOS module in my flake config.

My problem is that I don’t know how I should apply the overlay with a configuration based on flakes, and there you install Emacs via Home Manager. I haven’t been able to find any simple dotfile repo that use the Emacs overlay, Home Manager, and flakes together.

@moderators Can you please move this thread to #learn?

I’m also using the emacs-init home-manager module.

1 Like