NixOS friendly hosters: Difference between revisions

From NixOS Wiki
imported>Infinisil
m add reference to Install NixOS on a Server With a Different Filesystem article
imported>Samueldr
m Adds instructions as in-lined comment to hopefully keep this page clean.
Line 1: Line 1:
<!--
====================================================
Notes about this page:
* KEEP header levels as HTML tags, since we're using them in a table.
* ORDER tables alphabetically. When a single host has multiple names, order from cheapest to pricier, then name. (See ovh)
* SHORT summaries in the table. When longer, link to a known good quality article or create a wiki page.
* GENERIC installation methods can be recommended for a particular host.
What the categories mean:
* 1st class NixOS support → it is in the choice of operating systems that can be installed from their panel or ordered.
* Support NixOS via custom ISO → No hacks or weird setup needed. Following the installation guide should work.
* Other means of installation → Hoster-agnostic instructions, hoster-specific instructions or hacks needed to use NixOS.
The Hoster-agnostic section provides alternative methods that can work in many situations, but are not necessarily one-size-fits-all. They, also, generally are meant for remote installation procedures.
====================================================
-->
{|class="table table-striped"
{|class="table table-striped"
|- style="background-color: #fff"
|- style="background-color: #fff"

Revision as of 19:26, 26 November 2017

1st class NixOS support

Packet NixOS on Packet
Linode Install and Configure NixOS on a Linode
VPS2day When ordering or configuring, the "Manual Install (Advanced)" option includes NixOS. Installation is done through a web-based console.

Support NixOS via custom ISO

Vultr nixos.wiki is running on a NixOS VPS at Vultr
netcup NixOS ISO can be uploaded via FTP to be available in the server control panel.

(in the SCP, navigate to: 'Media' → 'Images') See the official netcup documentation.

Hetzner Online Hetzner provides an interface to upload your own ISO-images. However you may want to build your own iso-image, which has openssh with ssh keys due the lack of a remote console. An easier method to install NixOS on Hetzner, is to use the existing integration into NixOps.
LiteServer NixOS ISO is available from the control panel.
BuyVM An ISO file for NixOS 17.03 is available via the Stallion control panel, under CD-ROM > Development.

Other means of installation

Amazon EC2 See NixOS on Amazon EC2
Online See Install NixOS on Online.Net
Rackspace See Install NixOS on Rackspace Cloud Servers
OVH / Kimsufi / So you Start See this blogpost by Augustin Borsu
Google Cloud Platform See Installing NixOS on GCE
Digital Ocean nixos-infect can be used to transform an existing installation into NixOS. This method will be also used in NixOps.
Scaleway The kexec method works well, but bear in mind it only works with the 'virtual' class of servers, as they run under a hypervisor which attaches the disks before the kernel boots. The 'bare-metal' servers rely on a special Linux kernel booting to attach network /dev/nbdX drives which works only with Scaleway supplied images.

Hoster-agnostic means of installation

This section links to or explains methods that can be used on various providers. As always, with unsupported hosts and unsupported distributions, your mileage may vary.

Not all providers allow to upload own images or provide NixOS images for installation. However there are a few ways to install NixOS anyhow. nixos-in-place and nixos-infect are generic approaches to install NixOS from an existing Linux. A different approach is to build an kexec-based image to start the installer from an booted linux as shown in this repo, this allows for changing the underlying filesystem. See Install NixOS on a Server With a Different Filesystem.

See also the NixOps project, which also provides interfaces to different cloud providers.