Due to a rebase fail, the workflow attempted to use the ubuntu mkosi build. Reverted to building using nix to stay close to the documented procedure. If we opt to use the ubuntu-packaged mkosi, more testing is required and we should change it everywhere.
In the mid-term this would make sense, because currently mkosi is marked as broken in nixos-24.05 and nix-unstable. the version we have pinned in the nix flake (v17) is rather old now.
Drive-by fix: sudo is not required for mkosi images on Ubuntu 22.04
Due to a rebase fail, the workflow attempted to use the ubuntu mkosi build. Reverted to building using nix to stay close to the documented procedure. If we opt to use the ubuntu-packaged mkosi, more testing is required and we should change it everywhere.
In the mid-term this would make sense, because currently mkosi is marked as broken in nixos-24.05 and nix-unstable. the version we have pinned in the nix flake (v17) is rather old now.
Drive-by fix: sudo is not required for mkosi images on Ubuntu 22.04