Skip to content

qcow-efi backend ignores diskSize #369

@ereslibre

Description

@ereslibre

Create a qcow-efi image with ./nixos-generate -c configuration.nix -f qcow-efi --disk-size 20480 on the root of this repository.

The generated qcow image has a different disk size than specified:

/dev/disk/by-label/nixos  2.9G  1.5G  1.2G  55% /

It effectively defaults to the qemu-efi module option of boot.diskSize = "auto";, given nothing sets the disk size as the module option expects (boot.diskSize).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions