Jump to content

Install NixOS on a Server With a Different Filesystem: Difference between revisions

add notice about official nixos manual section at the top
imported>Symphorien
(→‎NIXOS_LUSTRATE: link to the manual)
imported>Makefu
(add notice about official nixos manual section at the top)
Line 1: Line 1:
{{note|There is now an ''official'' section in the [https://nixos.org/nixos/manual/index.html#sec-installing-from-other-distro  nixos manual] which should be followed before trying to reproduce the steps in this article.}}
Usually when installing NixOS, you boot from an external USB device containing the installer, which makes it easy to change the underlying filesystem. On a remote server however, this is usually not possible. This guide shows you how you can still make it work. Here it is shown with a DigitalOcean (DO) droplet initially running Debian, then replacing the original filesystem with ZFS and installing NixOS on it.
Usually when installing NixOS, you boot from an external USB device containing the installer, which makes it easy to change the underlying filesystem. On a remote server however, this is usually not possible. This guide shows you how you can still make it work. Here it is shown with a DigitalOcean (DO) droplet initially running Debian, then replacing the original filesystem with ZFS and installing NixOS on it.


Anonymous user