git clone --depth 1 https://github.com/siraken/dotfiles.gitor using gh CLI:
gh repo clone siraken/dotfiles -- --depth 1Install Nix using Determinate Nix Installer.
If the installer prompts you to install Determinate Nix, select no to install Nix from NixOS instead.
INFO nix-installer v3.4.1
INFO For a more robust Nix installation, use the Determinate package for macOS: https://dtr.mn/determinate-nix
Install Determinate Nix?
Selecting 'no' will install Nix from NixOS instead.
Proceed? ([Y]es/[n]o/[e]xplain):
To uninstall Nix, run the command below:
/nix/nix-installer uninstallcd dotfiles
sudo nix run nix-darwin/nix-darwin-25.05#darwin-rebuild -- switch --flake .#darwin --impureAfter the installation, you may need to restart your terminal. The darwin-* commands are available in your shell.
# Build darwin flake using:
sudo darwin-rebuild build --flake .#THE_NAME --impure
sudo darwin-rebuild switch --flake .#THE_NAME --impure
# ex)
sudo darwin-rebuild switch --flake .#darwin --impureor
nix run home-manager/release-25.05 -- switch --flake .#THE_NAME --impure
# ex)
nix run home-manager/release-25.05 -- switch --flake .#wsl-ubuntu --impurenix store gc