sources:
- Nix is my favorite package manager to use on macOS
- Stow has forever changed the way I manage my dotfiles
cd ricing
stow .This will make symlinks of all the files and folders at ~/
To update the nix packages,
cd .nix/
nix flake update
sudo darwin-rebuild switch --flake ~/.nix#AirM3To automatically update the brew packages, set the following flags in flake.nix
homebrew = {
# ...
onActivation = {
cleanup = "zap"; # to remove apps not listed
autoUpdate = true;
upgrade = true;
};
# ...
};