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,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 = {