NixOS Generators: Azure & QEMU
Using nixos-generators to build images for Azure VM and QEMU
Prerequisites
General Usage
nix run github:nix-community/nixos-generators -- --format <format> [options]nix build github:nix-community/nixos-generators#nixos-generate -- --format <format> [options]1. Generate a NixOS Image for Azure VM
nix run github:nix-community/nixos-generators -- --format azure -c /etc/nixos/configuration.nixUploading the VHD to Azure
2. Generate a NixOS Image for QEMU
Running the Image with QEMU
Customizing the Configuration
References
Last updated