These dotfiles are now managed using Nix on macOS and Linux.
macOS utilizes nix-darwin in order to manage homebrew dependencies, and both macOS and Linux utilize home-manager for dotfiles and nixpkgs.
Install Lix, an implementation of Nix.
curl -sSf -L https://install.lix.systems/lix | sh -s -- install
Run the installer
nix run github:mhanberg/.dotfiles
You can see the current tasks by running just --list
$ just --list
Available recipes:
default
fix-shell-files # fix shell files. this happens sometimes with nix-darwin
hm # run home-manager switch
news
rebuild # rebuild nix darwin
update # updates brew, flake, and runs home-manager
update-brew # update and upgrade homebrew packages
update-flake # update your flake.lock