The guide from the official wiki on how to install NixOS at Linode is very manual, and that can get a bit time consuming if you have to do it a lot of times.
I have therefore made a script that does the same, but is more automated.
![nixos-hires.png](https://svbtleusercontent.com/lfskciigub0mw_small.png)
1. Create a new instance
Press the Add a Linode
link in the interface.
2. Add a disk
Press Create a new Disk
in the interface, give it a name, for an example nixdisk
, type=ext4
, size=maximum
. Click the create button.
3. Boot Finnix
Click the tab named Rescue
, and click the button saying Reboot into Rescue Mode
.
4. Get remote access
Click the tab named Remote Access
, and click Launch Lish Console
, you will get a popup that looks like this:
![screenie_1467214794_495297.png](https://svbtleusercontent.com/byrptyb9stswgq_small.png)
5. Run install script
I have a script hosted on Github here: https://gist.github.com/kaspergrubbe/b42e5e1ccd276fea8d99e4865f0bcb21
I had to ignore certificates, because the version of Finnix Linode uses...