explaingit

manelinux/nixard

Analysis updated 2026-05-18

25PythonAudience · ops devopsComplexity · 2/5LicenseSetup · easy

TLDR

A terminal app for NixOS that shows what packages are installed, what depends on what, and the real disk and download cost of adding something new.

Mindmap

mindmap
  root((nixard))
    What it does
      Dependency closure analysis
      Real disk and download sizing
      Store cleanup guidance
    Tech stack
      Nix
      NixOS
      Home Manager
    Use cases
      Find unused store entries
      Export Nix config snippets
      Edit NixOS config safely
    Audience
      NixOS users
      System administrators

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Check exactly what would be downloaded before adding a new package

USE CASE 2

Find and safely remove unused entries in the Nix store

USE CASE 3

Export a ready-to-paste config snippet for a package you want to keep

USE CASE 4

Edit NixOS configuration files with an automatic backup safety net

What is it built with?

NixNixOSHome Manager

How does it compare?

manelinux/nixardalexrosbach/replibookarlandaren/proagents
Stars252525
LanguagePythonPythonPython
Setup difficultyeasyeasyeasy
Complexity2/52/51/5
Audienceops devopsops devopsvibe coder

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

Requires an existing NixOS system, can be run without installing via a single Nix command.

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

In plain English

nixard is an interactive terminal application for NixOS users who want a clearer picture of what packages are installed on their system and what it would actually cost to add more. NixOS is a Linux distribution with an unusual package management approach where software and its dependencies are stored in an isolated directory called the Nix store. Over time that store can accumulate entries that are no longer active, and figuring out exactly what is in use, what can be cleaned up, and what a new package would download is not always straightforward with the standard tools. nixard addresses that by showing the full picture in a keyboard-driven interface. The core feature is dependency closure analysis. When you look up a package, nixard walks its full tree of dependencies and cross-references that against your local store. It tells you which dependencies you already have active, which are present in the store but unused, which can be safely removed, and which would need to be downloaded fresh. It calculates the real download size and disk usage, rather than just reporting theoretical numbers. nixard also reads your NixOS configuration files automatically. It understands several ways NixOS systems are set up, including traditional configuration files, flake-based setups, and Home Manager for user-level configuration. When you find a package you want to keep, you can mark it and export a ready-to-paste Nix declaration for whichever configuration style you use. Export history is saved between sessions so you can return to previous selections. A built-in split editor lets you open and modify your actual NixOS configuration files without leaving the terminal interface. It creates a backup before saving any changes and requires an explicit save action before anything is written. The tool runs entirely without performing any builds or modifying your system during inspection. It can be launched without permanent installation using a single Nix command. The project is licensed under MIT.

Copy-paste prompts

Prompt 1
Explain what dependency closure analysis means and how nixard calculates it
Prompt 2
Walk me through installing nixard without permanently adding it to my system
Prompt 3
Show me how to export a Nix declaration for a package I found with nixard
Prompt 4
Help me understand the difference between store entries that are active versus unused

Frequently asked questions

What is nixard?

A terminal app for NixOS that shows what packages are installed, what depends on what, and the real disk and download cost of adding something new.

What language is nixard written in?

Mainly Python. The stack also includes Nix, NixOS, Home Manager.

What license does nixard use?

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

How hard is nixard to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is nixard for?

Mainly ops devops.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.