rebuild
CommunityApply Nix/Home Manager changes with one rebuild.
AuthorCastrozan
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill automates applying configuration changes to a Nix-based dotfiles environment, reducing manual rebuild steps.
Core Features & Use Cases
- Unified workflow: Stage changes, run a dry-run, and apply updates across NixOS and non-NixOS environments.
- Reliable rebuilds: Rebuilds the system or user configuration with correct context and automatic backup naming.
- Use Case: After editing a .nix file or updating a flake, trigger a safe rebuild to apply changes without manual reboot or split commands.
Quick Start
Stage changed files: git add path/to/changed.nix Dry-run to validate (NixOS): nix build ~/.dotfiles#nixosConfigurations.USER.config.system.build.toplevel --dry-run Dry-run to validate (non-NixOS): home-manager build --flake ~/.dotfiles#USER@x86_64-linux --dry-run If dry-run passes, apply: ./bin/rebuild Verify changes took effect
Dependency Matrix
Required Modules
None requiredComponents
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: rebuild Download link: https://github.com/Castrozan/.dotfiles/archive/main.zip#rebuild Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.