Dotfiles setup for both macOS and GNU/Linux
sh <(curl -L https://nixos.org/nix/install) --daemon
Install Home Brew too as a dependancy
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
cd ~
git clone git@github.com:majordoobie/dotfiles.git
cd dotfiles
nix shell --extra-experimental-features 'nix-command flakes' nixpkgs#stow
stow .
Install Nix-Darwin and run it
nix run nix-darwin --extra-experimental-features "nix-command flakes" -- switch --flake ~/dotfiles/nix#${hostname}
darwin-rebuild switch --flake ~/dotfiles/nix#${hostname}