elitak / nixos-infect

[GPLv3+] install nixos over the existing OS in a DigitalOcean droplet (and others with minor modifications)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Document when PROVIDER env var is required

RichardWarfield opened this issue · comments

First of all thanks for this very useful script.

It was my experience that running the command as documented in the README on a DigitalOcean host:

curl https://raw.githubusercontent.com/elitak/nixos-infect/master/nixos-infect | NIX_CHANNEL=nixos-20.09 bash -x

... puts the system into a state with no networking enabled, which kept me puzzled for quite a while. I gather that this is how the script is intended to operate when PROVIDER is unset but think it could be documented a bit more clearly that PROVIDER is required for Digital Ocean (and not just when running through cloud-init).