Environments is a collection of opinionated development environments for various project types that can be easily installed, updated, and composed together.
On non-NixOS systems: Install Nix using the Determinate Systems Nix Installer. Create a new project:
nix run github:tymbalodeon/environments/init?dir=init# --no-write-lock-file \
new PATH [ENVIRONMENT]...
Initialize an existing project:
nix run github:tymbalodeon/environments/init?dir=init# --no-write-lock-file \
init [ENVIRONMENT]...
The generic environment is included by default, and will be the only one installed if no environments are specified.
If direnv
is installed, the devShell
can be activated
by running just environment activate
.
Once installed, new environments can be added with
just environment add [ENVIRONMENT]...
and installed environments can
be upgraded to the lates version by running just environment upgrade
.
Environments can also be removed with just environment remove [ENVIRONMENT]...
(with no environments specified, this will remove all enviornments except the
generic one).