curl -L https://nixos.org/nix/install | sh
sh <(curl -L https://nixos.org/nix/install) --daemon
nix-channel --add https://nixos.org/channels/nixos-21.05 nixpkgs
TODO
mkdir ~/Projects
cd ~/Projects/
git clone [email protected]:gbogard/nix-config.git
# Switch to the new config
darwin-rebuild switch -I darwin-config=$HOME/Projects/nix-config/machines/personal-mac/darwin-configuration.nix
cd Projects/
git clone [email protected]:gbogard/dotfiles.git
# Rebuild the system using the machine's configuration instead of /etc/nixos
nixos-rebuild switch -I nixos-config=/home/guillaume/Projects/nix-config/machines/nixos-workstation/configuration.nix