giomf

giomf / NixoScope

Public

Visualize dependencies between NixOS modules

14
0
100% credibility
Found Mar 05, 2026 at 14 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Python
AI Summary

NixoScope visualizes the dependency relationships in NixOS configuration modules by turning structure data into diagrams or lists.

How It Works

1
💡 Discover NixoScope

You're piecing together a custom computer setup with modular parts but it's hard to see how they connect, so you find this handy visualization tool.

2
📋 Capture your setup snapshot

You quickly create a simple file that outlines the structure and connections in your current setup.

3
🚀 Launch the visualizer

You run the tool and load your snapshot file to start building the map.

4
Choose your view style
📊
Colorful diagram

Get a visual map with boxes and arrows showing connections, colored by groups.

📄
Detailed list

Receive a structured breakdown of modules and their links in easy-to-read format.

5
🔍 Focus on specifics

Optionally filter the view to highlight just the parts you're interested in, like your custom additions.

See the big picture

Enjoy your clear, beautiful map of how everything fits together, making your setup easier to manage.

Sign up to see the full architecture

4 more

Sign Up Free

Star Growth

See how this repo grew from 14 to 14 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is NixoScope?

NixoScope is a Python tool to visualize dependencies between NixOS modules, turning your config's JSON graph—dumped via `nix eval --json '.#nixosConfigurations..graph'`—into Graphviz diagrams or JSON output. It solves the pain of manually tracing imports in complex flake-based setups, like dendritic designs with flake parts, showing exactly which modules pull in others and via what options. Filter by option prefix, such as "flake.modules," for cleaner views on how to visualize project dependencies in Nix.

Why is it gaining traction?

It hooks NixOS devs by leveraging the new Nixpkgs module `.graph` output for instant, accurate graphs without custom parsing—run `nixoscope --input graph.json --format gv` and get SVG-ready visuals. Unlike generic tools for cmake visualize dependencies or visualize npm dependencies, it's tailored for NixOS, with simple filtering that beats digging through code. Early adopters praise the nix run github:giomf/nixoscope convenience for quick systemd visualize dependencies checks.

Who should use this?

NixOS admins wrangling large module trees in flakes, especially those using flake parts for modular configs. Flake authors debugging import cycles or option propagation in multi-host setups. DevOps teams needing to visualize code dependencies before scaling deployments, not frontend devs or non-Nix projects.

Verdict

At 14 stars and 1.0% credibility score, NixoScope is raw and experimental—docs are basic, no tests visible—but it delivers real value for NixOS power users today. Try it via nix run if modules haunt your configs; contribute to mature it.

(178 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.