NixOS configurations I use. To create a vm, for example: nixos-generate -f virtualbox -c ./oxygen.nix Available formats are listed here: https://github.com/nix-community/nixos-generators#supported-formats