Skip to content
forked from cachix/devenv

Fast, Declarative, Reproducible, and Composable Developer Environments

License

Notifications You must be signed in to change notification settings

snowfallorg/devenv

 
 

Repository files navigation

devenv.sh - Fast, Declarative, Reproducible, and Composable Developer Environments

Join Discord License: Apache 2.0 version CI

logo

NOTE This fork of devenv adds support for DotBox as your configuration file. Create a devenv.box file instead of yaml or json!

Running devenv init generates devenv.nix:

{ pkgs, ... }:

{
  # https://devenv.sh/basics/
  env.GREET = "devenv";

  # https://devenv.sh/packages/
  packages = [ pkgs.git ];

  enterShell = ''
    hello
    git --version
  '';

  # https://devenv.sh/languages/
  languages.nix.enable = true;

  # https://devenv.sh/scripts/
  scripts.hello.exec = "echo hello from $GREET";

  # https://devenv.sh/pre-commit-hooks/
  pre-commit.hooks.shellcheck.enable = true;

  # https://devenv.sh/processes/
  # processes.ping.exec = "ping example.com";
}

And devenv shell activates the environment.

Commands

Documentation

About

Fast, Declarative, Reproducible, and Composable Developer Environments

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Nix 100.0%