System Setup
curl -Ls https://raw.githubusercontent.com/gtramontina/dotfiles/main/install.sh | bash -s <hostname> [directory]
The setup.sh
script will install, if not already available:
git
via xcode-select
;homebrew
via the official one-liner;nix
via the official one-liner;home-manager
nix channel;nix-darwin
following the instructions from the official repository;It'll, then, proceed with running darwin-installer
built in the last step. This will get the systems ready to go. Subsequent changes to any .nix
files can be applied by running update
(a shell alias for darwin-rebuild switch
).