This repository contains a proof-of-concept demonstrating how to run a NixOS virtual machine inside a container.
There is probably very little situations where doing this is actually a good idea but hey, it's funny enough
and still good to know. The only use case I had for this was for running a single node Nomad cluster in a devcontainers environment.
- Docker
- ideally a KVM-capable environment
$ make$ make run
...
<<< Welcome to NixOS 24.11.717743.d30125e98b05 (x86_64) - ttyS0 >>>
Run 'nixos-help' for the NixOS manual.
nixos login:The username / password is vscode / vscode.