nixops-hetzner
nixops-hetzner copied to clipboard
Deploying to root-on-ZFS on Hetzner
This is a useful configuration, but one which doesn't seem to be possible at the moment; there's no "zfs" verb in pykickstart.
I don't think it would be too difficult to add. I was going to say that I'd offer to add it, but on second thought I don't have a high-bandwidth uplink to run nixops from, which is apparently necessary...
This feature request can stay.
this is something i'd like to get working if you can point me in the right direction.
@Baughn & @r14c one option would be https://github.com/cleverca22/nix-tests/tree/master/kexec
in theory, nixops can build the tarball, customized for the hetzner machine IP, then scp it up, and auto-execute it over ssh
after ~2 minutes, it will be running nixos from a ramdisk, ssh in again, and nixos-install as usual, you can partition it any way you want
it also includes a justdoit script that automates the install, so the only tricky part would be making sure nixops understands how to keep it booting