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.lutris.enable

Whether to enable lutris…

Type: boolean

Default:

false

Example:

true

Declared by:

programs.lutris.package

The lutris package to use.

Type: package

Default:

pkgs.lutris

Declared by:

programs.lutris.defaultWinePackage

The wine/proton package to set as the default for lutris. It must still be set under proton/winePackages.

Type: null or package

Default:

null

Example:

"pkgs.proton-ge-bin"

Declared by:

programs.lutris.extraPackages

List of packages to pass as extraPkgs to lutris. Please note runners are not detected properly this way, use a proper option for those.

Type: list of package

Default:

[ ]

Example:

"with pkgs; [mangohud winetricks gamescope gamemode umu-launcher]"

Declared by:

programs.lutris.protonPackages

List of proton packages to be added for lutris to use with umu-launcher.

Type: list of package

Default:

[ ]

Example:

"[ pkgs.proton-ge-bin ]"

Declared by:

programs.lutris.runners

Attribute set of Lutris runners along with their configurations. Each runner must be named exactly as lutris expects on lutris --list-runners. Note that runners added here won’t be configurable through Lutris using the GUI.

Type: attribute set of (submodule)

Default:

{ }

Example:

''
  runners = {
    cemu.package = pkgs.cemu;
    pcsx2.config = {
      system.disable_screen_saver = true;
      runner.runner_executable = "$\{pkgs.pcsx2}/bin/pcsx2-qt";
    };
  };
''

Declared by:

programs.lutris.runners.<name>.package

The package to use for this runner, nix will try to find the executable for this package. A more specific path can be set by using settings.runner.runner_executable instead. Incompatible with certain runners, such as wine.

Type: null or package

Default:

null

Example:

"pkgs.cemu"

Declared by:

programs.lutris.runners.<name>.settings

Settings passed directly to lutris for this runner’s config at XDG_CONFIG/lutris/runners.

Type: submodule

Default:

{ }

Declared by:

programs.lutris.runners.<name>.settings.runner

Runner specific options. For references, you must look for the file of said runner on lutris’ source code.

Type: open submodule of (YAML 1.1 value)

Default:

{ }

Declared by:

programs.lutris.runners.<name>.settings.runner.runner_executable

Specific option to point to a runner executable directly, don’t set runner.package if you set this. Incompatible with certain runners such as wine.

Type: string or absolute path

Default:

""

Declared by:

programs.lutris.runners.<name>.settings.system

Lutris system options for this runner. Reference for system options: https://github.com/lutris/lutris/blob/master/lutris/sysoptions.py#L78

Type: open submodule of (YAML 1.1 value)

Default:

{ }

Declared by:

programs.lutris.steamPackage

This must be the same you use for your system, or two instances will conflict, for example, if you configure steam through the nixos module, a good value is “osConfig.programs.steam.package”

Type: null or package

Default:

null

Example:

"pkgs.steam or osConfig.programs.steam.package"

Declared by:

programs.lutris.winePackages

List of wine packages to be added for lutris to use.

Type: list of package

Default:

[ ]

Example:

"[ pkgs.wineWow64Packages.full ]"

Declared by: