Lutris: Difference between revisions

Added Using Esync
Granddave (talk | contribs)
No edit summary
 
(2 intermediate revisions by 2 users not shown)
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.
[https://lutris.net/ Lutris] is a video game preservation platform that you can use to play or emulate pretty much any game you want.


== Adding missing dependencies ==
== Installation ==
If any games are unable to run due to missing dependencies, they can be installed using the following methods.
Install Lutris by adding the [https://search.nixos.org/packages?show=lutris&query=lutris Lutris package]<syntaxhighlight lang="nix">
environment.systemPackages = with pkgs; [
  lutris
];
</syntaxhighlight>


=== Libraries ===
=== Overriding extra libraries and packages ===
<syntaxHighlight lang=nix>
If any games are unable to run due to missing dependencies, they can be installed using the following methods.<syntaxhighlight lang="nix">
  environment.systemPackages = with pkgs; [
environment.systemPackages = with pkgs; [
    (lutris.override {
  (lutris.override {
      extraLibraries = pkgs: [
    # List of additional system libraries
        # List library dependencies here
    extraLibraries = pkgs: [ ];
      ];
    })
  ];
</syntaxHighlight>


=== Packages ===
    # List of additional system packages   
<syntaxHighlight lang=nix>
     extraPkgs = pkgs: [ ];
  environment.systemPackages = with pkgs; [
  })
     (lutris.override {
];
      extraPkgs = pkgs: [
</syntaxhighlight>
        # List package dependencies here
      ];
    })
  ];
</syntaxHighlight>


== Known Issues ==
== Known Issues ==
=== Icons does not appear ===
=== Icons do not appear ===
You have to install a compatible icon theme. For example, you can install the <code>adwaita-icon-theme</code> available as <code>gnome3.adwaita-icon-theme</code> in Nixpkgs.
You have to install a compatible icon theme. For example, you can install the <code>adwaita-icon-theme</code> available as <code>gnome3.adwaita-icon-theme</code> in Nixpkgs.


=== Epic Game Store ===
=== Epic Game Store ===
If you're running a 64bit environment you need to ensure that you enable 32bit support in your <code>configuration.nix</code>:
If you're running a 64bit environment you need to ensure that you enable 32bit support:<syntaxhighlight lang="nix">
<code>
hardware.graphics.enable32Bit = true;
hardware.graphics.enable32Bit = true
</syntaxhighlight>
</code>


=== Incompatible Lutris libraries ===
=== Incompatible Lutris libraries ===