migrate inix to nix-darwin on x86_64-darwin #6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "inix-darwin-migration"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Migrate
inix(2017 iMac Pro) from NixOS to nix-darwin onx86_64-darwin. NixOS on this hardware proved painful (Broadcom WiFi firmware, AMD Vega, T2) — going back to macOS with Nix on top, modeled after mbp.nix but scoped to a garage-machine workload.Changes
darwinConfigurations.inixonx86_64-darwin(only Intel Mac in the flake)x86_64-darwinadded to flakesystemsnixosConfigurations.inixandhardware-configs/inix.nixremovedmodules/hosts/inix.nixrewritten as a darwin module: importsfonts,nix-settings,zsh,homebrew,editors,git,cli-tools,activation,syncthing. Brews:pinentry-mac,syncthing. Casks:slack,vlc,zen. (obsidianandvivaldicome from the base homebrew module;zenis host-level on mbp/studio so it's also host-level here.)modules/services/syncthing.nixrefactored to use${config.homebrew.prefix}/bin/syncthinginstead of hardcoded/opt/homebrew/binso it works on both Apple Silicon (/opt/homebrew/bin) and Intel (/usr/local/bin)README.mdPrerequisites split — Apple Silicon Macs use Determinate; Intel Mac (inix) uses the upstream installer (curl -L https://nixos.org/nix/install | sh) because Determinate listsx86_64-darwinas unsupportedAGENTS.md,modules/README.md) updated for the host-count + brewPrefix guidanceValidation
Re-evaluated
mbp,a6mbp,studioafter the syncthing refactor — all still produce valid system paths andhomebrew.prefixresolves to/opt/homebrew.gnarboxNixOS config still evals (stateVersion = "25.05").Note: x86_64-darwin sunset
Per the nixpkgs 26.05 release notes: 26.05 is the last release to support
x86_64-darwin. Nixpkgs maintains the platform with binary builds until 26.05 goes out of support at the end of 2026. From 26.11 onward (Nov 2026), no packages will be built forx86_64-darwinand source builds will not be supported.We're tracking unstable on inix today for parity with the other Macs. A scheduled routine (
trig_01KH42sj6qQeHnnhLFKkbgvi, fires 2026-06-08) will open a follow-up PR pinninginixtonixos-26.05once that branch is cut. Note: that follow-up PR will land on the GitHub mirror (https://github.com/bryan-thompsoncodes/nix-configs), not Forgejo, since the cloud-hosted scheduled agent has gh auth but no Forgejo token.Test plan
curl -L https://nixos.org/nix/install | sh) — Determinate doesn't supportx86_64-darwinsudo nix run nix-darwin/master#darwin-rebuild -- switch --flake '.#inix'which brewreturns/usr/local/bin/brew(not/opt/homebrew/bin/brew)View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.