add xpadneo to gaming

This commit is contained in:
Vinzenz Schroeter 2024-01-21 11:08:18 +01:00
parent d1af4262c3
commit 3aff0c255b

View file

@ -9,13 +9,18 @@ in {
options.my.desktop.enableGaming = lib.mkEnableOption "gaming with wine"; options.my.desktop.enableGaming = lib.mkEnableOption "gaming with wine";
config = lib.mkIf isEnabled { config = lib.mkIf isEnabled {
hardware.opengl = { hardware = {
opengl = {
driSupport = true; driSupport = true;
driSupport32Bit = true; driSupport32Bit = true;
extraPackages = with pkgs; [mangohud]; extraPackages = with pkgs; [mangohud];
extraPackages32 = with pkgs; [mangohud]; extraPackages32 = with pkgs; [mangohud];
}; };
steam-hardware.enable = true;
xpadneo.enable = true;
};
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
wineWowPackages.stagingFull wineWowPackages.stagingFull
wineWowPackages.fonts wineWowPackages.fonts
@ -35,8 +40,6 @@ in {
}) })
]; ];
hardware.steam-hardware.enable = true;
programs = { programs = {
xwayland.enable = true; xwayland.enable = true;
steam = { steam = {