Run the setup script on macOS:
curl -fsSL https://raw.githubusercontent.com/gingama4/dotfiles/master/setup.sh | bashThe script performs the following steps:
- Installs Nix using the Lix installer if needed.
- Clones this repository to
~/dotfiles. - Applies the nix-darwin configuration.
- Applies the Home Manager configuration.
The nix-darwin step may prompt for your administrator password.
To rerun only selected setup steps, run the cloned script interactively and choose from its menu:
~/dotfiles/setup.shThe flake manages the system and user environment separately:
darwinConfigurations.hades: macOS settings, Homebrew, and Nix itself.homeConfigurations.normal: standalone Home Manager forgingama4.
cd ~/dotfiles
nix flake update
sudo darwin-rebuild switch --flake .#hades
home-manager switch --flake .#normalCommit flake.lock to preserve the selected dependency versions. Keep
home.stateVersion unchanged when updating inputs unless deliberately migrating
Home Manager compatibility behavior.