My system and home configurations files are tracked in this repository.
- install nix
git clone git@github.com:chicochico/dofi.git $HOME/dofi
- install nix-darwin
- run
nix-shell shell.nix
- install home-brew for installing
--casks
- to setup os inside the new shell run
darwin-rebuild switch --flake .#mbp14
- to setup home
home-manager switch --flake .#mbp14
Restarting the computer is a good idea.
To update system configurations, rebuild with:
darwin-rebuild switch --flake .#hostname
To update home configurations rebuild with:
home-manager switch --flake .#username