A unified CLI that replaces scattered NixOS tools like nixos-rebuild

AI-generated summary of reporting by GitHub Opensource Projects. Read the original for the full story.

Why it matters

NixOS administrators can replace the scattered scripts like nixos-rebuild with one CLI, cutting context-switching and giving them TUIs for generations and options.

Read this as

NixOS is a version of the Linux operating system where all settings are written as code, but managing it normally means juggling several separate tools. A new open-source program called nixos-cli, written in Go, bundles everything into one command line tool, including visual menus for browsing system snapshots and settings. It is for people who administer NixOS systems and are tired of remembering which script does what.

NixOS tooling has grown fragmented: rebuilds, generation management and option browsing each use different utilities. The open-source nixos-cli consolidates these into one drop-in replacement for nixos-cli's target, nixos-rebuild, shipped as a Nix flake with wrapped and unwrapped variants to avoid rebuilds when Nix changes. There is no company behind it, no revenue model and no stated adoption numbers; the project is under active development and unproven at scale.

nixos-cli (github.com/water-sucks/nixos) is a Go CLI providing drop-in replacements for nixos-rebuild plus TUIs for generation management and option preview. It ships as a Nix flake with four outputs: wrapped and unwrapped packages plus legacy variants, a split that prevents full rebuilds when Nix runtime dependencies update. Documentation is generated via mdbook (website) and scdoc (man pages) from doc/build.go. Integration tests use pkgs.testers.runNixOSTest; no benchmarks are given.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

NixOS nixos-cli nixos-rebuild Go Nix flake mdbook scdoc

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading

datasette-charts 0.5a0

Datasette Charts 0.5a0 adds calendar heatmaps, box plots and active-over-time charts, enabling richer data visualisation directly in the browser without extra libraries.