-
Clone:
git clone --recursive https://github.com/SRachamim/xdg-config-home ~/.config
-
Install Nix:
curl -L https://nixos.org/nix/install | sh
-
Install nix-darwin:
nix-build https://github.com/LnL7/nix-darwin/archive/master.tar.gz -A installer ./result/bin/darwin-installer
-
Build:
darwin-rebuild switch -I ~/.config/nixpkgs/drawin/configuration.nix`
-
Submodules:
git pull --recurse-submodules git submodule update --init --recursive
-
Nix:
nix-channel --update darwin darwin-rebuild changelog
darwin-rebuild switch