Adds the coteditor Homebrew cask to homebrew.casks in configuration.nix, so nix-darwin installs CotEditor on the next rebuild. This is the established mechanism for GUI apps in this repo.
Change
configuration.nix: new entry "coteditor" in homebrew.casks, alphabetically after codex and before docker-desktop, matching the list's existing per-cask comment style.
Dry build (build only, no switch): darwin-rebuild build --flake .#lt-mbp
exit 0 with only the expected warning Git tree ... has uncommitted changes (the change was not committed at build time). Build output result/ was produced.
Generated Brewfile from the built system closure: /nix/store/840kb19nkwni2n6a3p956h25lxmwidhn-Brewfile line 17: cask "coteditor", trusted: true
No live generation was switched and rebuild.sh was not run in apply mode.
How the captain applies it
After merge, from the primary checkout:
./rebuild.sh
rebuild.sh ends with exec sudo darwin-rebuild switch --flake ~/.dotfiles#lt-mbp, so it needs sudo and the password prompt on this Mac. Homebrew activation then installs the coteditor cask. Note homebrew.onActivation.cleanup = "zap" is unchanged; coteditor is now declared, so a zap pass will keep it.
Risk
Low. One declarative cask line, validated by the dry build. The cask is auto_updates, so Homebrew will not fight the app's self-updater.
## Summary
Adds the `coteditor` Homebrew cask to `homebrew.casks` in `configuration.nix`, so nix-darwin installs CotEditor on the next rebuild. This is the established mechanism for GUI apps in this repo.
## Change
- `configuration.nix`: new entry `"coteditor"` in `homebrew.casks`, alphabetically after `codex` and before `docker-desktop`, matching the list's existing per-cask comment style.
## Cask id check
`brew info --cask coteditor` resolves the cask:
```
coteditor (CotEditor): 7.1.2 (auto_updates)
CotEditor.app, /Applications/CotEditor.app/Contents/SharedSupport/bin/cot
```
So the id is one lowercase word: `coteditor`.
## Validation (dry, no system mutation)
1. Evaluation:
`nix eval --json .#darwinConfigurations.lt-mbp.config.homebrew.casks`
exit 0, output includes `{"name":"coteditor","brewfileLine":"cask \"coteditor\", trusted: true"}`.
2. Dry build (build only, no switch):
`darwin-rebuild build --flake .#lt-mbp`
exit 0 with only the expected warning `Git tree ... has uncommitted changes` (the change was not committed at build time). Build output `result/` was produced.
3. Generated Brewfile from the built system closure:
`/nix/store/840kb19nkwni2n6a3p956h25lxmwidhn-Brewfile` line 17:
`cask "coteditor", trusted: true`
No live generation was switched and `rebuild.sh` was not run in apply mode.
## How the captain applies it
After merge, from the primary checkout:
```
./rebuild.sh
```
`rebuild.sh` ends with `exec sudo darwin-rebuild switch --flake ~/.dotfiles#lt-mbp`, so it needs `sudo` and the password prompt on this Mac. Homebrew activation then installs the coteditor cask. Note `homebrew.onActivation.cleanup = "zap"` is unchanged; coteditor is now declared, so a zap pass will keep it.
## Risk
Low. One declarative cask line, validated by the dry build. The cask is `auto_updates`, so Homebrew will not fight the app's self-updater.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
Adds the
coteditorHomebrew cask tohomebrew.casksinconfiguration.nix, so nix-darwin installs CotEditor on the next rebuild. This is the established mechanism for GUI apps in this repo.Change
configuration.nix: new entry"coteditor"inhomebrew.casks, alphabetically aftercodexand beforedocker-desktop, matching the list's existing per-cask comment style.Cask id check
brew info --cask coteditorresolves the cask:So the id is one lowercase word:
coteditor.Validation (dry, no system mutation)
nix eval --json .#darwinConfigurations.lt-mbp.config.homebrew.casksexit 0, output includes
{"name":"coteditor","brewfileLine":"cask \"coteditor\", trusted: true"}.darwin-rebuild build --flake .#lt-mbpexit 0 with only the expected warning
Git tree ... has uncommitted changes(the change was not committed at build time). Build outputresult/was produced./nix/store/840kb19nkwni2n6a3p956h25lxmwidhn-Brewfileline 17:cask "coteditor", trusted: trueNo live generation was switched and
rebuild.shwas not run in apply mode.How the captain applies it
After merge, from the primary checkout:
rebuild.shends withexec sudo darwin-rebuild switch --flake ~/.dotfiles#lt-mbp, so it needssudoand the password prompt on this Mac. Homebrew activation then installs the coteditor cask. Notehomebrew.onActivation.cleanup = "zap"is unchanged; coteditor is now declared, so a zap pass will keep it.Risk
Low. One declarative cask line, validated by the dry build. The cask is
auto_updates, so Homebrew will not fight the app's self-updater.