Nix configuration for my computer
sh <(curl -L https://nixos.org/nix/install) --daemon
nix-channel --add https://nixos.org/channels/nixpkgs-unstable nixpkgs
nix-channel --update
nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager
nix-channel --update
xcode-select --install
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
eval "$(/opt/homebrew/bin/brew shellenv)
(echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> ~/.local/zsh.sh # or ~/.zshrc if you're not using my dotfiles
nix-build https://github.com/LnL7/nix-darwin/archive/master.tar.gz -A installer
./result/bin/darwin-installer
git clone [email protected]:gustavomdeiros/nix-machina.git
./bin/build.sh
nix flake update
./bin/build.sh