NixOS friendly hosters: Difference between revisions

imported>Samueldr
m Updates links text
imported>Samueldr
m reviews hoster-agnostic section...
Line 47: Line 47:
== Hoster-agnostic means of installation ==
== Hoster-agnostic means of installation ==


1. Upload a prepared closure to the victim server running Debian or Centos (you have to use rsync, nix-copy-closure won't copy to the server which has no nix), then run "touch /etc/NIXOS; $toplevel/bin/switch-to-configuration boot; reboot". There are several tools for making this easier: nix-infect, ...
The [[Installation guide#Installing_on_VPS_.26_Cloud_Providers|Installing on VPS & Cloud Providers]] section of the installation guide page explains methods that can be used on various providers. As always, with unsupported hosts and unsupported distributions, your mileage may vary.
 
2. Turn any running Linux system into NixOS without reboot, using kexec, ...
 
This is also described [https://nixos.wiki/wiki/Installation_guide#Install_Nixos_on_VPS.2FCloud-Provider here].