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.
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
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
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
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
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.
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!