packer init nixos.pkr.hcl
^init^build^
(
name=nixos
cp output-nixos/packer-nixos $name.qcow2
virt-install \
--boot loader=/usr/share/edk2/ovmf/OVMF_CODE.fd \
--connect qemu:///system \
--disk $name.qcow2 \
--import \
--memory 2048 \
--name $name \
--network bridge:virbr0 \
--os-variant nixos-unstable \
--vcpus 2 \
;
)
-
Notifications
You must be signed in to change notification settings - Fork 0
whslabs/packer-nixos
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description or website provided.
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published