Installing REI3 on NixOS Latest

In this tutorial, we will guide you through the steps to install REI3 from https://rei3.de/home_en/ on the latest version of NixOS. REI3 is a modified version of the Nintendo Switch custom firmware ReiNX.

Before starting, make sure you have access to the root user account or a user account with sudo privileges on your NixOS system.

Step 1: Install Git

Git is a distributed version control system. We need Git to clone the REI3 repository from Github.

Run the following command to install Git:

sudo nix-env -iA nixos.git

Step 2: Clone the REI3 Repository

Use Git to clone the REI3 repository from Github to your local machine. In the terminal, run the following command:

git clone https://github.com/Reisyukaku/REI-NX.git

Step 3: Install Dependencies

REI3 requires certain dependencies to function properly. Run the following command to install the required dependencies:

sudo nix-env -iA nixos.pkgconfig
sudo nix-env -iA nixos.gcc
sudo nix-env -iA nixos.coreutils
sudo nix-env -iA nixos.findutils
sudo nix-env -iA nixos.makeWrapper
sudo nix-env -iA nixos.sdcc
sudo nix-env -iA nixos.pkg-config
sudo nix-env -iA nixos.libelf
sudo ln -sf $(which libelf.so.1) /usr/lib/libelf.so

Step 4: Build and Install REI3

Navigate to the REI3 directory that you cloned in Step 2. In the terminal, run the following command to build and install REI3:

make
make install

Step 5: Verify REI3 Installation

Once the installation is complete, restart your Nintendo Switch console into recovery mode by holding the Volume + and Power Buttons.

Connect your console to your computer using a USB cable. On your NixOS machine, navigate to the REI3 directory that you cloned in Step 2.

In the terminal, run the following command:

sudo python3 tegrarcm.py

Then run the following command to inject the REI3 payload:

sudo ./rcmadm rcm2

Your Nintendo Switch should now boot into REI3.

Conclusion

This concludes our tutorial on how to install REI3 on the latest version of NixOS. We hope you found this tutorial helpful.

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!

Alternatively, for the best virtual desktop, try Shells!