I’ve found #ubuntu #multipass to be sweet-spot for me for creating #development environments, meaning environments with toolchains, project specific assets and stuff like that.
Like if I spin up a new project or whatever, I just:
multipass launch \
--name project \
--cpus 4 \
--memory 8G \
--disk 100G \
--bridged \
23.10
multipass exec project -- yes '' | ssh-keygen -t ed25519
multipass exec project -- cat .ssh/id_ed25519.pub
Totally get #Podman and #Nix but learning them only to do this would be a total overkill…
@jarkko opportunity and sunk costs are real things, but #Nix won’t make you pay the overhead of spinning up a VM. (but you still can tell it to.) Also, it’s arguable that development environments are the least powerful feature unlocked by Nix. You also get reproducible build steps, cross-compilation, and no worries about the OS updating your dependencies and breaking your build.
@jarkko you would learn Nix for much more than what that one-liner does. It gives you the ability to share development environments that are consistent, reproducible, and repeatable. Amongst other configuration duties that developers need.