File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -122,16 +122,23 @@ The Chief maintains a separate repository for personal packages at `~/nix-packag
122122
123123``` bash
124124# Rebuild and switch (preferred)
125- nh os switch . # or use the 'nrb' shell function
125+ just build # or use the 'nrb' shell function
126126
127- # Dry-run rebuild
128- nh os switch . -- --dry-run
127+ # Dry-run build
128+ just dry-build # or use the 'ndr' shell function
129+
130+ # Build the Travel-Canoe (ISO)
131+ just iso
132+
133+ # Ghost Cave (VM with Disko)
134+ just vm
129135
130136# Update flake inputs
131- nix flake update
137+ just up # or use the 'up' shell function
132138
133- # Format (alejandra via pre-commit and flake check)
139+ # Format (alejandra via pre-commit and nix flake check)
134140nix flake check
141+ ```
135142
136143# Lint Nix (also run automatically by pre-commit hooks)
137144statix check .
Original file line number Diff line number Diff line change @@ -402,12 +402,12 @@ in {
402402 return 127
403403 }
404404
405- # Stage dotfiles (used by nrb/ndr /up functions)
405+ # Stage dotfiles (used by build /up functions)
406406 st() { git -C "${ userConfig . dotfilesDir } " add .; }
407- nrb() { st && nh os switch ; }
408- ndr() { st && nh os build; }
409- up() { st && nh os switch --update ; }
410- up-browsers() { st && nix flake update nixpkgs && nh os switch ; }
407+ nrb() { st && just build ; }
408+ ndr() { st && just dry- build; }
409+ up() { st && just up ; }
410+ up-browsers() { st && just up-browsers ; }
411411
412412 [[ -z "$CLEAN_PATH" ]] && readonly CLEAN_PATH='${ cleanPath } '
413413 [[ -z "$COPILOT_BIN" ]] && readonly COPILOT_BIN='${ copilotBin } '
Original file line number Diff line number Diff line change 3131 nix flake update
3232 nh os switch . --update
3333
34+ # Update only browser inputs and switch
35+ up-browsers :
36+ nix flake update nixpkgs
37+ nh os switch .
38+
3439# Deploy Ninja brain to a remote IP via SSH (WIPES DISK!)
3540deploy-ninja ip :
3641 nix run github:nix-community/ nixos-anywhere -- --flake .#ninja root@{{ip}}
You can’t perform that action at this time.
0 commit comments