From 3aff0c255bb8d90bb26abb0d61f2cd7c37ef2930 Mon Sep 17 00:00:00 2001 From: Vinzenz Schroeter Date: Sun, 21 Jan 2024 11:08:18 +0100 Subject: [PATCH] add xpadneo to gaming --- modules/desktop/gaming.nix | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/modules/desktop/gaming.nix b/modules/desktop/gaming.nix index 8355621..88b9c6a 100644 --- a/modules/desktop/gaming.nix +++ b/modules/desktop/gaming.nix @@ -9,11 +9,16 @@ in { options.my.desktop.enableGaming = lib.mkEnableOption "gaming with wine"; config = lib.mkIf isEnabled { - hardware.opengl = { - driSupport = true; - driSupport32Bit = true; - extraPackages = with pkgs; [mangohud]; - extraPackages32 = with pkgs; [mangohud]; + hardware = { + opengl = { + driSupport = true; + driSupport32Bit = true; + extraPackages = with pkgs; [mangohud]; + extraPackages32 = with pkgs; [mangohud]; + }; + + steam-hardware.enable = true; + xpadneo.enable = true; }; environment.systemPackages = with pkgs; [ @@ -35,8 +40,6 @@ in { }) ]; - hardware.steam-hardware.enable = true; - programs = { xwayland.enable = true; steam = {