config/profiles/desktop/lutris.nix

43 lines
846 B
Nix
Raw Normal View History

2023-07-05 17:29:31 +02:00
{ config, pkgs, lib, ... }:
2024-10-30 23:18:53 +01:00
lib.mkMerge [
2023-07-05 17:29:31 +02:00
{
# TODO: gamemode?
#services.joycond.enable = true;
2024-02-18 18:50:56 +01:00
environment.systemPackages = [
(pkgs.lutris.override {
2023-07-05 17:29:31 +02:00
extraPkgs = pkgs: [
2024-02-18 18:50:56 +01:00
pkgs.wineWowPackages.staging
2024-02-18 22:14:40 +01:00
pkgs.winetricks
2024-02-18 18:50:56 +01:00
pkgs.pixman
pkgs.libjpeg
pkgs.gnome.zenity
2023-07-05 17:29:31 +02:00
];
extraLibraries = pkgs: [
];
})
# ensure icons appear
2024-10-30 23:18:53 +01:00
pkgs.gnome.adwaita-icon-theme
2024-02-18 18:50:56 +01:00
pkgs.hicolor-icon-theme #
2023-07-05 17:29:31 +02:00
# Needed for some installers like League of Legends
2024-02-18 18:50:56 +01:00
pkgs.openssl
pkgs.gnome.zenity
2023-07-05 17:29:31 +02:00
];
hardware.opengl.enable = true;
2024-10-30 23:18:53 +01:00
}
(lib.optionalAttrs (lib.versionOlder (lib.versions.majorMinor lib.version) "24.11") {
hardware.opengl.driSupport = true;
})
{
2023-07-05 17:29:31 +02:00
hardware.opengl.driSupport32Bit = true;
hardware.opengl.extraPackages32 = with pkgs.pkgsi686Linux; [ libva ];
}
2024-10-30 23:18:53 +01:00
]