Rebuilding the Devbox
CommunityRebuild and recover your devbox with ease.
Authorjohnnymo87
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill streamlines maintaining and recovering a NixOS devbox by applying configuration changes and performing full rebuilds when necessary.
Core Features & Use Cases
- Apply system changes: Use sudo nixos-rebuild switch --flake .#devbox to rebuild the NixOS system after edits in hosts/devbox.
- Apply user changes: Use home-manager switch --flake .#dev to apply user configuration changes.
- Full rebuild option: Execute a full rebuild from scratch with nixos-anywhere when the system is corrupted.
- Update dependencies: Refresh flake inputs with nix flake update and commit changes.
Quick Start
- Apply system changes after editing hosts/devbox: cd ~/projects/workstation; sudo nixos-rebuild switch --flake .#devbox
- Apply user changes after editing users/dev/ or assets/: cd ~/projects/workstation; home-manager switch --flake .#dev
- Full rebuild sequence: From Mac, run nixos-anywhere --flake .#devbox root@devbox; SSH in and run: cd ~/Code/workstation; home-manager switch --flake .#dev
Dependency Matrix
Required Modules
None requiredComponents
scripts
💻 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: Rebuilding the Devbox Download link: https://github.com/johnnymo87/workstation/archive/main.zip#rebuilding-the-devbox 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.