nixos-generators icon indicating copy to clipboard operation
nixos-generators copied to clipboard

diskSize expects string

Open jaroeichler opened this issue 1 year ago • 0 comments

The example to adjust the diskSize in the readme doesn't work for me. nix build expects a string like this:

test = nixos-generators.nixosGenerate (
  config-test
  // {
    format = "vm-nogui";
    specialArgs = { diskSize = "20000"; };
  }
);

In particular, it fails with something like "20 * 1024".

jaroeichler avatar Aug 30 '24 12:08 jaroeichler