zlacker

[return to "bootc-image-builder: Build your entire OS from a Containerfile"]
1. tt7262+6V8[view] [source] 2025-06-27 23:43:53
>>twelve+(OP)
You can also achieve this with your current system

> nix-build '<nixpkgs/nixos>' -A vm -I nixpkgs=channel:nixos-25.05 -I nixos-config=./configuration.nix

I use nixos btw

◧◩
2. indigo+329[view] [source] 2025-06-28 01:34:29
>>tt7262+6V8
Can this do vmdk format?
◧◩◪
3. jchw+7c9[view] [source] 2025-06-28 04:45:12
>>indigo+329
I don't know the answer using the built-in VM attributes (I mean I'd guess probably, but I don't know how if so) but there's always nixos-generators for making VM images. Definitely used this for deploying VMs to cloud providers, haven't tried the VMWare one yet though.

https://github.com/nix-community/nixos-generators

[go to top]