Skip to content

Commit bb7c559

Browse files
committed
users/andrewgazelka: revert casks to stable channels (un-zap ghostty)
#1303 ("switch slack cask to slack@beta") swept the whole cask list to pre-release channels (slack@beta, ghostty@tip, zed@preview, emacs-app@nightly, 1password-cli@beta, cloudflare-warp@beta, mullvad-vpn@beta, obs@beta, signal@beta, stremio@beta). A suffixed cask is a DIFFERENT cask from its stable name, and hydra activation runs `brew bundle --force-cleanup --zap`, so the next darwin-rebuild uninstalled the stable apps that were actually installed (e.g. stable ghostty got zapped, taking its deployed config symlinks with it). Revert all to stable (no @channel) so declared == installed, and add a warning comment documenting the zap footgun so a future channel switch installs the matching app locally first.
1 parent 6ea6815 commit bb7c559

1 file changed

Lines changed: 19 additions & 10 deletions

File tree

users/andrewgazelka/darwin.nix

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,40 +16,49 @@
1616
# that ships a real Nix package belongs in home.packages / environment, not here.
1717
{
1818
homebrew = {
19+
# WARNING: the consuming host runs `brew bundle --force-cleanup --zap` on
20+
# activation (see hosts/hydra/default.nix), which UNINSTALLS any cask not in
21+
# this list AND any cask whose declared name doesn't match what's installed.
22+
# A pre-release suffix is a DIFFERENT cask: `ghostty@tip` != `ghostty`,
23+
# `slack@beta` != `slack`. Declare the suffixed channel but have the stable
24+
# app installed (or vice-versa) and the next `darwin-rebuild switch` zaps the
25+
# running app out from under you. (#1303 flipped these to @beta/@tip/@nightly
26+
# and so zapped stable ghostty.) Keep entries stable (no `@channel`) unless
27+
# you also install that exact channel locally so declared == installed.
1928
casks = [
20-
"1password-cli@beta"
29+
"1password-cli"
2130
"beeper"
2231
"chatgpt"
2332
"chatgpt-atlas"
2433
"claude"
2534
# Cloudflare WARP: tunnels IPv4+IPv6 to Cloudflare, so an IPv6-only or
2635
# broken-IPv4 network (e.g. hotel wifi with dead DHCPv4) can still reach
2736
# IPv4-only hosts like github and Apple's APNs. Needs UDP egress to work.
28-
"cloudflare-warp@beta"
37+
"cloudflare-warp"
2938
"codex-app"
3039
"contexts"
3140
"cursor"
32-
"emacs-app@nightly"
33-
"ghostty@tip"
41+
"emacs-app"
42+
"ghostty"
3443
"google-chrome"
3544
"helium-browser"
3645
"linear"
3746
"lm-studio"
38-
"mullvad-vpn@beta"
47+
"mullvad-vpn"
3948
"notion"
40-
"obs@beta"
49+
"obs"
4150
"obsidian"
4251
"orbstack"
4352
"postico"
4453
"prismlauncher"
4554
"raycast"
4655
"screen-studio"
4756
"setapp"
48-
"signal@beta"
57+
"signal"
4958
"skim"
50-
"slack@beta"
59+
"slack"
5160
"spotify"
52-
"stremio@beta"
61+
"stremio"
5362
"superhuman"
5463
"superwhisper"
5564
"tailscale-app"
@@ -62,7 +71,7 @@
6271
# refuses no-auth servers, so a third-party client is required to reach
6372
# `vnc://<host>.tail368802.ts.net:5900`. See ix nix/modules/desktop/remote-desktop.nix.
6473
"vnc-viewer"
65-
"zed@preview"
74+
"zed"
6675
"zoom"
6776
];
6877

0 commit comments

Comments
 (0)