NIXPKGS_ALLOW_UNFREE=1 nix profile add --impure \
nixpkgs#direnv \
nixpkgs#git \
nixpkgs#nil \
nixpkgs#nix-direnv \
nixpkgs#nixfmt \
nixpkgs#nodejs_22 \
nixpkgs#saml2aws \
nixpkgs#sops \
nixpkgs#terraform \
nixpkgs#uv
git config --global commit.gpgsign true
We’ll configure the terminal first. Once the terminal is configured, all of the applications you open from it will inherit the development environment and credentials.
At this point, you should have Nix already installed in your system, so we won’t go into those details.
For maximum compatibility, we suggest you use ZSH
(macOS default shell) as the command interpreter of your terminal.
Please follow these steps:
git clone git@gitlab.com:fluidattacks/universe.git
cd
to the root of the repository and configure your Git username and email:git config user.name "Your Name"
git config user.email "username@fluidattacks.com"
git config user.name "Aureliano Buendia"
git config user.email "abuendia@fluidattacks.com"
direnv
by adding the following lines to your ~/.zshrc
shell configuration file:# Configure direnv
export DIRENV_WARN_TIMEOUT=1h
source <(direnv hook zsh)
source ~/.zshrc
cd
to universe and run the following commands:git clone git@gitlab.com:fluidattacks/universe.git
direnv allow
to enter the development environment.cd skims
direnv allow
File > Open Folder
option in the menu or from a terminal, still within the universe repository with code .
.(Ctrl+Shift+X)
, type @recommended
, and install the recommended extensions for the workspace.Your Name <username@fluidattacks.com> usernameatfluid <username@fluidattacks.com>
nix run ./common#common-hooks