Open angerman opened 4 years ago
Hey there,
wow, that's incredible work you did there! I am absolutely super-interested in this. If it's not too much of an hassle I'd really appreciate a PR.
Also, it would be amazing if you could share more insights about your NixOps setup as I was planning to play with it too!
Regarding your last idea that sounds super-cool! I think something like this might warrant a second repo/docker-compose setup as this one is specifically designed to be a "one off". I'll look into it, thanks again!
Hi there,
thanks for doing this! I've used it to great success, though my setup is a bit different and I'm wondering if there is interest in integrating this?
My diff so far wrt to nixos-docker-sd-image-builder isn't that large:
It basically drops the
mkForce
, which makes changing (or even adding additional mount points) pretty hard, and making the nixos-config a bit more configurable.I then have additional configuration for each platform in
boards
, and then custom configurations for each deployment in anops
folder, and some nixops wrapper to deploy/update them.If there is interest, I'd be happy to clean this up some more and open a PR.
One thing I couldn't figure out (lack of docker/docker-compose knowledge basically) is how to launch a docker container that would run an nixOS aarch64 instance one could use as a remote builder (after all one wouldn't want to build on the tiny SCBs directly due to performance, sd card wear, ...) and launching an AWS might not be possible (or feasible due to latency slow up/down link).