Lutris: Difference between revisions

From NixOS Wiki
imported>Zyansheep
provide more info
imported>Quasigod-io
This adds an explanation of how to add dependencies to Lutris, similar to what is available on the Steam page
Line 1: Line 1:
Lutris is a video game preservation platform that you can use to play or emulate pretty much any game you want.
Lutris is a video game preservation platform that you can use to play or emulate pretty much any game you want.
== Adding missing dependencies ==
If any games are unable to run due to missing dependencies, they can be installed using the following methods.
=== Libraries ===
<syntaxHighlight lang=nix>
  environment.systemPackages = with pkgs; [
    (lutris.override {
      extraLibraries =  pkgs: [
        # List library dependencies here
      ];
    })
  ];
</syntaxHighlight>
=== Packages ===
<syntaxHighlight lang=nix>
  environment.systemPackages = with pkgs; [
    (lutris.override {
      withPrimus = true;
      extraPkgs = pkgs: [
        # List package dependencies here
      ];
    })
  ];
</syntaxHighlight>


== Known Issues ==
== Known Issues ==

Revision as of 19:58, 17 October 2022

Lutris is a video game preservation platform that you can use to play or emulate pretty much any game you want.

Adding missing dependencies

If any games are unable to run due to missing dependencies, they can be installed using the following methods.

Libraries

  environment.systemPackages = with pkgs; [
    (lutris.override {
      extraLibraries =  pkgs: [
        # List library dependencies here
      ];
    })
  ];

Packages

  environment.systemPackages = with pkgs; [
    (lutris.override {
       withPrimus = true;
       extraPkgs = pkgs: [
         # List package dependencies here
       ];
    })
  ];

Known Issues

Icons does not appear

You have to install a compatible icon theme. For example, you can install the adwaita-icon-theme available as gnome3.adwaita-icon-theme in Nixpkgs.

Vulkan not found on startup

This warning may be cosmetic for some people. See this open issue

Epic Game Store

If you're running a 64bit environment you need to ensure that you enable 32bit support in your configuration.nix: hardware.opengl.driSupport32Bit = true