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