Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Packer NixOS Build

An example on how to build NixOS VM images by leveraging Packer.

Usage

  1. To build the image make sure you have QEMU Packer builder configured.

  2. Customize configuration/configuration.nix as you please.

  3. Run packer build nixos22.11.pkr.hcl the build KVM image.

You can set the root password through a variable, like this packer build -var 'root_password=qwertz1234' nixos22.11.pkr.hcl.

License

MIT

About

Build NixOS qcow2 VM images with Packer

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages