-
Install nix how nix-darwin recommends
-
Install xcode command line tools using
xcode-select --install -
Add ssh key to
~/.ssh -
Clone the repo into
/etc/nix-darwin -
Setup nix-darwin using
sudo nix run nix-darwin/master#darwin-rebuild -- switch --flake .#CONFIG_NAME -
Apply changes using
sudo darwin-rebuild switch --flake .#CONFIG_NAME
-
Change into the secrets folder using
cd secrets -
Run the command
nix run github:ryantm/agenix -- -e secrets.age
- Folder icons are created using: