Dotfiles setup for both macOS and GNU/Linux
First, check out the dotfiles repo in your $HOME directory using git
cd ~
git clone [email protected]:majordoobie/dotfiles.git
cd dotfiles
stow .
c Setup Homebrew before installing NIX that way nix-darwin has access to Homebrew
I like to use the Determinate installer since it lets you quickly remove everything with a single command.
Install Nix-Darwin and run it
nix run nix-darwin --extra-experimental-features "nix-command flakes" -- switch --flake ~/dotfiles/nix
darwin-rebuild switch --flake ~/dotfiles/nix#chungus