-
|
A belated Happy New Year everyone! I'm looking for advice on how to integrate nix-topology into den. This would not only help me visualize my infrastructure, but, in the long run, could also be offered as a community-shareable battery. I've been struggling very hard with this but still haven't been successful in integrating it and thus, I'm asking for help. It seems pretty straightforward in the README on the repo itself (i.e. in the dropdown section named "Example flake.nix with flake-parts" here – note also that this section does not exist in the github pages!) Furthermore note, that in the dropdown section of the README, nix-topology is offered as a flake-parts module and that there is more information available on the flake-parts website) What I have so far works only up to a certain point. The following makes the home network appear in the visualisation and this is the furthest I've got: However, I find myself unable to define additional nodes/networks/stuff as per the README locally on the host level, ideally very closely defined to a certain host. Where and how would I integrate that into den or what am I missing? Any help is more than welcome, thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Finally solved this myself... The main issue was that not only the flake-parts module For future reference, my current setup involves the following:
Currently, I'm thinking what are more den-idiomatic way could look like. Any suggestions welcome! |
Beta Was this translation helpful? Give feedback.
Finally solved this myself...
The main issue was that not only the flake-parts module
nix-topology.flakeModuleneeds to be imported globally but alsonix-topology.nixosModules.defaulton every participating host.For future reference, my current setup involves the following: