Disko fails with missing createScript

Since I am a little stuck with creating disk images I tried to an kexec install instead.

And it (usually) boots into nixOS but then disko fails with an error that I cannot make sense of

Error: Attribute `nixosConfigurations.base.config.system.build.createScript not found in flake

Full error is here.

What createScript ? I cannot find any doc or examples on that.

Any pointers?

I figured it out.

Basically I was using wrong/old parameters for --mode.

  1. The error message was broken PR
  2. The error message is not super clear Github Issue
2 Likes