Skip to content

Instantly share code, notes, and snippets.

@hauntedhost
Last active November 9, 2017 18:24
Show Gist options
  • Save hauntedhost/028f50053a74564792238048158c024a to your computer and use it in GitHub Desktop.
Save hauntedhost/028f50053a74564792238048158c024a to your computer and use it in GitHub Desktop.

1. vultr iso > add iso

2. upload 18.03 iso

https://d3g5gsiof5omrk.cloudfront.net/nixos/unstable/nixos-18.03pre116572.9824ca6975/nixos-minimal-18.03pre116572.9824ca6975-x86_64-linux.iso

3. deploy new server

4. view console

NOTE: first fork https://github.com/somlor/nixos-vultr-bootstrap and edit ssh key with your public ssh key. Now in Vultr console:

$ nix-env -iA nixos.gitMinimal
$ git clone https://github.com/your-username/nixos-vultr-bootstrap
$ cd nixos-vultr-bootstrap
$ ./bootstrap.sh
$ reboot

5. delete iso

6. copy ip / ssh

From your own machine:

$ ssh nixos@vultr-ip-address
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment