Automate Project Environments with Devbox and Direnv

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. mise

    dev tools, env vars, task runner

    Use mise instead; it's fast, it gets out of your way, it's easy to use, and it's compatible with asdf plugins.

    http://mise.jdx.dev/

    Can't manage lower-level deps like dynamic libraries and C compilers, though. I just containerize those.

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. container-shell

    Starts and attaches a sandboxed shell using docker with access to the current or project directory

    Very nice. I'll def. check it out.

    I've created https://github.com/jrz/container-shell myself, which has a similar mindset, but is based on docker and is just a single bash script.

  4. rooz

    Work in containers

  5. haskell-template

    Haskell project template using Nix + Flakes + VSCode (HLS)

    https://nixos.asia/en/direnv

    But if you are comfortable with Nix you don't need Devbox per se, as you can get by with using Flakes. Here are some examples -- just `git clone` and run `direnv allow` (once), then you are put in the corresponding devShell

    Haskell: https://github.com/srid/haskell-template

    Rust: https://github.com/srid/rust-nix-template

    home-manager: https://github.com/juspay/nix-dev-home

    Dioxus: https://github.com/srid/dioxus-desktop-template

  6. rust-nix-template

    Rust project template with Nix (Flakes) and VSCode support

    https://nixos.asia/en/direnv

    But if you are comfortable with Nix you don't need Devbox per se, as you can get by with using Flakes. Here are some examples -- just `git clone` and run `direnv allow` (once), then you are put in the corresponding devShell

    Haskell: https://github.com/srid/haskell-template

    Rust: https://github.com/srid/rust-nix-template

    home-manager: https://github.com/juspay/nix-dev-home

    Dioxus: https://github.com/srid/dioxus-desktop-template

  7. nixos-unified-template

    A multi-platform Nix configuration template optimized for development environment, based on nixos-unified.

    https://nixos.asia/en/direnv

    But if you are comfortable with Nix you don't need Devbox per se, as you can get by with using Flakes. Here are some examples -- just `git clone` and run `direnv allow` (once), then you are put in the corresponding devShell

    Haskell: https://github.com/srid/haskell-template

    Rust: https://github.com/srid/rust-nix-template

    home-manager: https://github.com/juspay/nix-dev-home

    Dioxus: https://github.com/srid/dioxus-desktop-template

  8. dioxus-desktop-template

    A starter template for Dioxus Desktop apps w/ Tailwind & Nix

    https://nixos.asia/en/direnv

    But if you are comfortable with Nix you don't need Devbox per se, as you can get by with using Flakes. Here are some examples -- just `git clone` and run `direnv allow` (once), then you are put in the corresponding devShell

    Haskell: https://github.com/srid/haskell-template

    Rust: https://github.com/srid/rust-nix-template

    home-manager: https://github.com/juspay/nix-dev-home

    Dioxus: https://github.com/srid/dioxus-desktop-template

  9. nammayatri

    A Direct-to-Driver open mobility platform powering the next-generation of mobility applications in India.

    Here's an open source "Uber" project, written largely in Haskell and heavily uses Nix/ direnv:

    https://github.com/nammayatri/nammayatri

    There's dedicated direnv configuration for backend and frontend development: checkout `.envrc.backend` and `.envrc.frontend` files. They both use `use flake`, specifying the appropriate devShell argument.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Hk, a new Git hook manager from jdx

    5 projects | news.ycombinator.com | 17 Feb 2025
  • haskell.nix external dependency

    1 project | /r/Nix | 27 Apr 2023
  • Looking back on the year - Dev Retro 2022

    2 projects | dev.to | 30 Dec 2022
  • Laptop development is dead: why remote development is the future

    1 project | /r/programming | 16 Nov 2022
  • Australia, anyone?

    1 project | /r/digitalnomad | 20 Oct 2022

Did you know that Nix is
the 31st most popular programming language
based on number of references?