add lutris

This commit is contained in:
Peder Bergebakken Sundt 2023-07-05 17:29:31 +02:00
parent c572ab6d97
commit eed53728bb
2 changed files with 32 additions and 0 deletions

View File

@ -46,6 +46,7 @@
../../profiles/desktop/sound/pipewire.nix
../../profiles/desktop/steam.nix
../../profiles/desktop/lutris.nix
../../profiles/desktop/flatpak.nix
../../profiles/remote-builders

View File

@ -0,0 +1,31 @@
{ config, pkgs, lib, ... }:
{
# TODO: gamemode?
#services.joycond.enable = true;
environment.systemPackages = with pkgs; [
(lutris.override {
extraPkgs = pkgs: [
];
extraLibraries = pkgs: [
];
})
# ensure icons appear
gnome3.adwaita-icon-theme
hicolor-icon-theme #
# Needed for some installers like League of Legends
openssl
gnome.zenity
];
hardware.opengl.enable = true;
hardware.opengl.driSupport = true;
hardware.opengl.driSupport32Bit = true;
hardware.opengl.extraPackages32 = with pkgs.pkgsi686Linux; [ libva ];
}