Opinionated (my own) home configuration.
reload: reload shellreno: update home
- Install Homebrew:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"- Install & Setup nix:
sh <(curl -L https://nixos.org/nix/install)
mkdir -p ~/.config/nix
cat <<EOF >> ~/.config/nix/nix.conf
experimental-features = nix-command flakes
EOF
sudo launchctl kickstart -k system/org.nixos.nix-daemon- Setup env:
- First, generate an SSH key and add it to your GitHub account:
ssh-keygen -t rsa
cat ~/.ssh/id_rsa.pub | pbcopy- Then, clone and symlink the .dotfiles repo:
mkdir -p ~/.config
mkdir ~/Projects
cd ~/Projects
git clone git@github.com:simplystuart/.dotfiles.git
ln -s ~/Projects/.dotfiles ~/.config/home-manager- Finally, pull down large files via Git LFS:
cd ~/Projects/.dotfiles
brew install git-lfs
git lfs install --local
git lfs pull- Setup home-manager:
cd ~/.config/home-manager
nix run . switch- Install Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh- Install `tree-sitter-cli
cargo install --locked tree-sitter-cli