Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

programs.retroarch.enable

Whether to enable RetroArch.

Type: boolean

Default:

false

Example:

true

Declared by:

programs.retroarch.package

The retroarch package to use.

Type: package

Default:

pkgs.retroarch-bare

Declared by:

programs.retroarch.cores

RetroArch cores to enable. You can provide custom core packages.

Type: attribute set of (submodule)

Default:

{ }

Example:

{
  mgba.enable = true;  # Uses pkgs.libretro.mgba
  snes9x = {
    enable = true;
    package = pkgs.libretro.snes9x2010;
  };
  custom-core = {
    enable = true;
    package = pkgs.callPackage ./custom-core.nix { };
  };
}

Declared by:

programs.retroarch.cores.<name>.enable

Whether to enable RetroArch core.

Type: boolean

Default:

false

Example:

true

Declared by:

programs.retroarch.cores.<name>.package

The ‹name› package to use.

Type: package

Default:

pkgs.libretro."‹name›"

Declared by:

programs.retroarch.finalPackage

Resulting RetroArch package.

Type: package (read only)

Declared by:

programs.retroarch.settings

RetroArch configuration settings.

See https://github.com/libretro/RetroArch/blob/master/retroarch.cfg for available configuration options.

Type: attribute set of string

Default:

{ }

Example:

{
  input_max_users = "4";
  menu_scale_factor = "0.950000";
  netplay_nickname = "username";
  video_driver = "vulkan";
  video_fullscreen = "true";
}

Declared by: