diff --git a/README.md b/README.md index 09454bb..0708d8f 100644 --- a/README.md +++ b/README.md @@ -85,12 +85,12 @@ Allow for a few minutes over the usual Ubuntu deployment time for NixOS to downl ## Hetzner cloud -We need to replace our nameserver to point to the dedicated Hetzner DNS as opposed to `127.0.0.1:53` which is specific to Ubuntu. +Hetzner cloud works out of the box. When creating a server provide the following script as "User data" (this has been tested using Ubuntu 20.04 as a base OS). ``` -sed -i "/nameserver/d" /etc/resolv.conf -echo "nameserver 213.133.98.98" >> /etc/resolv.conf -curl https://raw.githubusercontent.com/elitak/nixos-infect/master/nixos-infect | PROVIDER=digitalocean NIXOS_IMPORT=./host.nix NIX_CHANNEL=nixos-19.09 bash 2>&1 | tee /tmp/infect.log +#!/bin/sh + +curl https://raw.githubusercontent.com/elitak/nixos-infect/master/nixos-infect | NIX_CHANNEL=nixos-20.03 bash 2>&1 | tee /tmp/infect.log ``` ## Motivation