mitchellh / nixos-config

My NixOS configurations.

Home Page:https://twitter.com/mitchellh/status/1346136404682625024

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Run a Linux builder in the background

lucperkins opened this issue · comments

I recently added a module to my nix-darwin config (see here) that runs a Linux builder as a background process on my Apple M1. I was inspired by this comment on Discourse and the fantastic work of Gabriella Gonzalez. If you'd like, I'd be more than happy to add this capability to your configs here as an alternative to the Docker builder. I can now run nix build <flake>#packages.aarch64-linux.<package> without a second thought on macOS and it's been a real game changer for me.