Document setup for macOS

This commit is contained in:
urob 2024-08-09 14:39:09 -04:00
parent d9eafd8109
commit 09be0ba78e
2 changed files with 10 additions and 3 deletions

View file

@ -308,11 +308,16 @@ environment is _completely isolated_ and won't pollute your system.
1. Clone _your fork_ of this repository. I like to name it `zmk-workspace` as it
will be the toplevel of the development environment.
```bash
# Replace `urob` with your username
git clone https://github.com/urob/zmk-config zmk-workspace
```
2. Enter the workspace and set up the environment.
2. If on `macOS`, edit `flake.nix` and replace `system = "x86_64-linux` with
`"x86_64-darwin"` (Intel processor) or `"aarch64-darwin"` (Apple silicon).
3. Enter the workspace and set up the environment.
```bash
# This automatically sets up and activates a virtual shell with the Zephyr toolchain.