diff --git a/README.md b/README.md index b35be99e6..814548d53 100644 --- a/README.md +++ b/README.md @@ -31,11 +31,14 @@ Running ``devenv init`` generates ``devenv.nix``: # https://devenv.sh/scripts/ scripts.hello.exec = "echo hello from $GREET"; + # https://devenv.sh/services/ + services.postgre.enable = true; + # https://devenv.sh/pre-commit-hooks/ pre-commit.hooks.shellcheck.enable = true; # https://devenv.sh/processes/ - # processes.ping.exec = "ping example.com"; + processes.ping.exec = "ping example.com"; } ``` @@ -46,6 +49,7 @@ And ``devenv shell`` activates the environment. ``` $ devenv +https://devenv.sh 1.0.1: Fast, Declarative, Reproducible, and Composable Developer Environments Usage: devenv [OPTIONS] @@ -68,12 +72,22 @@ Commands: Options: -v, --verbose Enable debug log level. + -j, --max-jobs + Maximum number of Nix builds at any time. [default: 8] + -j, --cores + Maximum number CPU cores being used by a single build.. [default: 2] -s, --system [default: x86_64-linux] + -i, --impure + Relax the hermeticity of the environment. + -c, --clean [...] + Ignore existing environment variables when entering the shell. Pass a list of comma-separated environment variables to let through. -d, --nix-debugger Enter Nix debugger on failure. -n, --nix-option Pass additional options to nix commands, see `man nix.conf` for full list. + -o, --override-input + Override inputs in devenv.yaml. -h, --help Print help ``` diff --git a/devenv/init/devenv.nix b/devenv/init/devenv.nix index ea2220e91..c07ae6b2e 100644 --- a/devenv/init/devenv.nix +++ b/devenv/init/devenv.nix @@ -15,6 +15,9 @@ git --version ''; + # https://devenv.sh/services/ + # services.postgre.enable = true; + # https://devenv.sh/languages/ # languages.nix.enable = true;