this post was submitted on 24 Jan 2025
13 points (100.0% liked)
Nix / NixOS
1948 readers
1 users here now
Main links
Videos
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Sounds like the perfect use case for devenv. I use it in a handful of personal projects and it's proved to be very useful when swapping projects especially when they require multiple services (eg. postgres, redis, nginx, etc.)
It can be setup as a flake that you can use with
nix develop
.There's options to start services and you can use scripts if you want some easy ways to tear down environments while in the devenv shell.
Hope this helps.