Flake + HM Config: Accessing home-manager "config" outside of the module

My current (ugly) workaround is to import my colorscheme.nix a second time and pass it to the overlay import.

nixpkgs.overlays = [ 
 self.overlays.default 
] ++ (import ../overlays) { inherit pkgs; importColors = import ../xxx/colorscheme.nix; };