Live data from Hacker News

Show HN: machine0 – Persistent NixOS VMs You Control from the CLI

machine0.io

11–20 of 40 posts

Re: Show HN: machine0 – Persistent NixOS VMs You Control from the CLI

#12

How does machine0 handle NixOS state drift and recovery in practice—for example, if a VM is manually modified outside the flake, can I detect or reset that drift, and how do snapshots interact with flake-based provisioning?

It's not possible to modify the VM outside of the flake :)

Re: Show HN: machine0 – Persistent NixOS VMs You Control from the CLI

#13
post #3
post #2

Big fan of exe.dev so the added Nix seems like a solid value add. exe.dev is great but lurking in my mind is: "how will I replicate this if I ever need to move to AWS etc.." for all the service composition. Site looks great too

Thanks! Yup, one of the benefits of defining your VMs as code using Nix, is that you can take that code to any supplier, and you're guaranteed exactly the same build.

Come join us at https://tacosprint.org/ We have more availability! (Also sponsor maybe )

Re: Show HN: machine0 – Persistent NixOS VMs You Control from the CLI

#14
post #12

How does machine0 handle NixOS state drift and recovery in practice—for example, if a VM is manually modified outside the flake, can I detect or reset that drift, and how do snapshots interact with flake-based provisioning?

It's not possible to modify the VM outside of the flake :)

[dead]

Re: Show HN: machine0 – Persistent NixOS VMs You Control from the CLI

#16
I made this (minus NixOS support, I should add that) for proxmox VE using their API a few weeks ago. I mean it's not this extensive, but it works:

https://github.com/cdevr/dtt

I mean, I'm not going to claim it's remotely near the same quality. And proxmox has some holes in their support for cloud init. And of course you need a mini pc on a good internet connection or the like.

But extremely fast provisioning of a any of VMs ... very handy.

Proxmox has too many compromises though. Maybe I should do the reverse, and extend this until it can fully replace proxmox entirely.

Re: Show HN: machine0 – Persistent NixOS VMs You Control from the CLI

#18
post #16

I made this (minus NixOS support, I should add that) for proxmox VE using their API a few weeks ago. I mean it's not this extensive, but it works: https://github.com/cdevr/dtt I mean, I'm not going to claim it's remotely near the same quality. And proxmox has some holes in their support for cloud init. And of course you need a mini pc on a good internet connection or the like. But extremely fast provisioning of a any…

I'm also a big fan of proxmox! Would be happy to help you extend machine0 though :) Happy to chat about your requirements over email: barnaby@machine0.io

Re: Show HN: machine0 – Persistent NixOS VMs You Control from the CLI

#19
post #3

Earlier quoted context omitted.

Thanks! Yup, one of the benefits of defining your VMs as code using Nix, is that you can take that code to any supplier, and you're guaranteed exactly the same build.

Come join us at https://tacosprint.org/ We have more availability! (Also sponsor maybe )

Would love to join the next one!
Post reply on HN