diff --git a/hosts/sopp/default.nix b/hosts/sopp/default.nix index 48c9e71..916c0fb 100644 --- a/hosts/sopp/default.nix +++ b/hosts/sopp/default.nix @@ -46,6 +46,7 @@ ../../profiles/desktop/sound/pipewire.nix ../../profiles/desktop/steam.nix + ../../profiles/desktop/lutris.nix ../../profiles/desktop/flatpak.nix ../../profiles/remote-builders diff --git a/profiles/desktop/lutris.nix b/profiles/desktop/lutris.nix new file mode 100644 index 0000000..4c58817 --- /dev/null +++ b/profiles/desktop/lutris.nix @@ -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 ]; + +}