I recently generated a aarch64 AMI image that manages to boot on Amazon’s A1 instances.
So, I wanted to leave this commit here for whovever the next person is that is looking for a starting point: https://github.com/rehno-lindeque/nixpkgs/commit/7fd9d5582623077271331efb73d314c8db8decf5
Would be amazing to get some official NixOS AMI going at some point so people can quickly spin up private remote builders for themselves.
I took the shortest, quick & dirty path to getting something working. There’s one or two harmless seeming error messages during boot.
Also got started on top of someone’s cross-compilation branch but couldn’t get cross-compilation working. So, this commit is no based on master. But I suspect it should basically cherry-pick cleanly onto the current nixpkgs master.