Skip to content

Host: home-macbook (cutover) #54

Description

@jasonboukheir

Host: home-macbook (cutover)

Host cutover (matrix column) — part of #36 · order 4 of 7 · verdict: 🟡 mostly portable · nix-darwin

First darwin host — establishes the system.defaults / mac-app-util / GUI-config-drop pattern. Imports modules/my/nix-darwin.nix (system environment.systemPackages + per-user users.users.<n>.packages). Darwin per-user is ready now: nix-darwin supports users.users.<n>.packages and per-user wrappers shadow system ones in PATH on darwin too, so this host takes per-user wrappers directly (knownUsers/uid requirements still apply).

Modules to land

Host-specific / blockers

  • Everything is disabled by default; home-macbook opts in per tool and sets per-user/system values.
  • GUI .app config (ghostty-bin, zed) read from fixed ~/Library/... / ~/.config/zed paths on Dock launch — a CLI wrapper doesn't cover that; seed via a darwin activation symlink. (See Epic "stays partial".)
  • Keep mac-app-util as a darwin module (already in modules/flake/darwin.nix); drop its HM variant.
  • 1Password GUI is an external /Applications app; agent socket path is fixed → manual/keep.
  • GUI app config that isn't a file → system.defaults.CustomUserPreferences / defaults write.

Cutover

  • Restructure mkHost in modules/flake/darwin.nix so Jasons-MacBook-Pro no longer includes home-manager-darwin.darwinModules.home-manager; remove hosts/home-macbook/home-manager/**.

Verify

  • nix build .#darwinConfigurations."Jasons-MacBook-Pro".system
  • apps launch with baked config from both terminal and Dock (diff old HM dotfiles vs new wrapper output; keep coexisting during cutover)

Done when

home-macbook builds HM-free; GUI + CLI config verified.

Metadata

Metadata

Assignees

No one assigned

    Labels

    hm-removalEpic: remove home-manager (wrappers + native modules)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions