sh <(curl -L https://nixos.org/nix/install)
mkdir -p ~/.config/nix
cat <<EOF > ~/.config/nix/nix.conf
experimental-features = nix-command flakes
EOF
cd ~/.config/nix
nix flake init -t nix-darwin
nix run nix-darwin -- switch --flake .
# or
nix flake update
darwin-rebuild switch --flake .
Created
September 19, 2025 17:42
-
-
Save littledivy/d7212b6a84b17ee57781977ea5e247df to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment