nh

Community

Streamlines NixOS and Home Manager management.

Authorknoopx
Version1.0.0
Installs0

System Documentation

What problem does it solve?

nh simplifies and automates NixOS, Home Manager, and related maintenance tasks, reducing manual configuration overhead.

Core Features & Use Cases

  • System updates, switches, and garbage collection for NixOS configurations via nh os (build, switch, test, boot, rollback, info, build-vm, repl).
  • Home Manager updates and configuration handling via nh home (switch, build, repl).
  • Nix-Darwin support for macOS configurations via nh darwin (switch, build).
  • Package discovery and workflow enhancements such as package search with nh search.
  • Maintenance and cleanup through nh clean to manage Nix stores and profiles.

Quick Start

Use the nh skill to perform common operations:

  • nh os switch path:.
  • nh os test path:.
  • nh os build path:.
  • nh os boot path:.
  • nh os rollback
  • nh os info
  • nh os build-vm path:.
  • tmux new -d -s nh-repl 'nh os repl path:.'
  • nh home switch path:.
  • nh home build path:.
  • tmux new -d -s hm-repl 'nh home repl path:.'
  • nh darwin switch path:.
  • nh darwin build path:.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: nh
Download link: https://github.com/knoopx/pi/archive/main.zip#nh

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.