Conversation

Jarkko Sakkinen

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…

2
0
1

@jarkko opportunity and sunk costs are real things, but 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.

1
0
0
@IslandUsurper I use Nix in remote shells with nix-user-chroot :-) So not really trying to put these three great tools in order. For whatever I do I just take the shortest and easiest path, no ideology here tbh :-)
1
0
0

Jarkko Sakkinen

Edited 8 months ago
I know what NixOS's selling points but I just don't like it in the host. And I neither like that there is a declaration/specification that is defined by a community that I'm not involved with to getting in the way. I get it for autonomous nodes, like a data center or something. Does not fit to my workflow or how I work. Great that there are options, right?
0
0
0

@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.

1
0
0
@cbleslie dude, you are throwing adjectives as an argument just saying :-) i've tried it, even used a bit professionally, have found uses for it, in other places i don't like it (e.g. in my desktop). there's zero argument here, right?
1
0
0

@jarkko no argument. Just facts. You can ignore me.

0
0
0