Skip to content

apply: consider adding an --image option #113

@water-sucks

Description

@water-sucks

Feature Description

This is a new (-ish?) feature in the nixos-rebuild.sh script that we may want to expose.

Build a disk-image variant, pre-configured for the given platform/provider. Select a variant with the --image-variant option or run without any options to get a list of available variants.

We can do this by passing a flag --image; an empty value indicates listing the files and exiting, while a real value indicates an actual image selection and building that output value.

This is functionally similar to the ---vm{-with-bootloader} option.

Help

Yes

Issues

  • I have checked existing issues and there are no existing ones with the same request.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions