Did you ever figure out a solution for this. I am currently on Apple M1. And I can’t figure out building an image for Digital Ocean.
nix build .#digital-ocean --system x86_64-linux --option system x86_6
4-linux
warning: Git tree '/Users/yikes/personal/hola' is dirty
error: builder for '/nix/store/884s2vvfhsqhi022n58nz97arrv625hp-append-initrd-secrets.drv' failed with exit code 1
error: builder for '/nix/store/7m8h48fdbvw207f9y9kyjm14nqq62ydz-builder.pl.drv' failed with exit code 1
error: builder for '/nix/store/9nxj61rm31gyk80kjsmhdz7vgdxd5sjc-chfn.pam.drv' failed with exit code 1
error: builder for '/nix/store/62jdwbmym9v6i3a469in21p8d3cpkqig-chpasswd.pam.drv' failed with exit code 1
error: builder for '/nix/store/zlwaz3yc0xwkq5bi4b3js1wkkh65qlaa-digitalocean-configuration.nix.drv' failed with exit code 1
error: interrupted by the user