oddlama / nix-topology

🍁 Generate infrastructure and network diagrams directly from your NixOS configurations
https://oddlama.github.io/nix-topology
MIT License
556 stars 24 forks source link

fix: flakeModule with pkgs containing overlays #39

Closed mrVanDalo closed 2 months ago

mrVanDalo commented 2 months ago

Fixes #36 to make flakeModules work out of the box.

I tried to use pkgs.extend self.overlays.default but couldn't make it work.

oddlama commented 2 months ago

Good call! Extending pkgs might be problematic when the user already includes the same overlay, so I guess this is the better solution in either case. Thank you