Install Determinate Nix using nix-installer:
curl -fsSL https://install.determinate.systems/nix | sh -s -- install --determinate --diagnostic-endpoint=""Install Homebrew:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"Make sure that Full Disk Access permission is granted to the terminal. Then, changes to the configuration can be applied by running:
make switchFor the first time setup, run:
chsh -s /run/current-system/sw/bin/zshTo activate configuration changes such as autohiding the dock, log out and log in again.
List home-manager profile versions:
nix profile historySwitch to the previous home-manager profile version:
nix profile rollbackSwitch to version 39 of the home-manager profile:
nix profile rollback --to 39List nix-darwin profile versions:
darwin-rebuild --list-generations
# OR
nix profile history --profile /nix/var/nix/profiles/systemSwitch to the previous nix-darwin profile version:
darwin-rebuild switch --rollbackSwitch to version 30 of the nix-darwin profile:
darwin-rebuild -G 30