Skip to content

Latest commit

 

History

History
47 lines (39 loc) · 1.62 KB

README.md

File metadata and controls

47 lines (39 loc) · 1.62 KB

nswitch-rcm-nix

A nix flake used for managing automatic (upon-connection) RCM payload injection for the Nintendo Switch. Inspired by nixtendo-switch, this project focuses only on payload injection with the goal of giving the user the freedom to choose their own payload to inject.

Installation

  1. Add this flake to your configuration:
    1. add nswitch-rcm-nix under inputs:
     inputs = {
     # your other flake inputs, such as nixpkgs, here ...
     nswitch-rcm-nix.url = github:Swarsel/nswitch-rcm-nix;
     };
    1. add the nswitch-rcm module in your output configuration:
      modules = [
      # your configuration.nix and others here ...
      nswitch-rcm-nix.nixosModules.nix
      ];
  2. Add the following to your configuration.nix:
services.nswitch-rcm = {
    enable = true;
    package = # package with payload of your choice
};
Fully working configuration example for Atmosphere 1.3.2
services.nswitch-rcm = {
      enable = true;
      package =  (pkgs.fetchurl {
        url = "https://github.com/Atmosphere-NX/Atmosphere/releases/download/1.3.2/fusee.bin";
        hash = "sha256-5AXzNsny45SPLIrvWJA9/JlOCal5l6Y++Cm+RtlJppI=";
      });
    };

Instruction (how to use)

  1. Make sure your Switch is in RCM mode (my recommendation is to use AutoRCM)
  2. Make sure your PC has a connection to the Switch (use dmesg --follow to check what happens upon plugin)
  3. The specified payload should be injected to the Switch as soon as the connection is established.