Adds a rosetta nix override, similar to the other projects.
Background
I'm sure whoever sees this PR already knows, but for anyone else new to Nix like myself, to use this, Nix must be configured as follows.
Open a terminal, without Rosetta enabled and run the following.
# Install Nix, per instructions on their site
sh <(curl -L https://nixos.org/nix/install) --daemon
# Add support for x86 via Rosetta where needed
cat <<EOF | sudo tee -a /etc/nix/nix.conf
extra-platforms = x86_64-darwin
EOF
# Reboot so the config change takes effect, or bounce the daemon. Then...
cd path/to/dashboard
nix-shell --arg rosetta true
Summary
Adds a rosetta nix override, similar to the other projects.
Background
I'm sure whoever sees this PR already knows, but for anyone else new to Nix like myself, to use this, Nix must be configured as follows.
Open a terminal, without Rosetta enabled and run the following.