xcode-select --install
git clone https://github.com/takumism/dotfiles.git ~/.dotfiles
cd ~/.dotfiles
- Modify the flake.nix file according to your environment.
username = "username";
platform = "aarch64-darwin"; # or "x86_64-linux"
- Run the following command to apply the configuration.
./install.sh
- Update each package by rebuilding environment.
- Run the
nix flake update
if you want to update nix packages.
# Fetch the latest package information
nix flake update
# Apply the home-manager configuration
nix run nix-darwin -- switch --flake .#username