nix/os-mods/desktop/gaming.nix

45 lines
961 B
Nix
Raw Normal View History

2023-12-10 05:19:43 +01:00
{ config
, lib
, pkgs
, ...
}: {
programs.steam = {
enable = true;
protontricks.enable = true;
remotePlay.openFirewall = true;
dedicatedServer.openFirewall = true;
extraCompatPackages = with pkgs; [
proton-ge-custom
];
2024-02-02 16:13:55 +01:00
package = pkgs.steam.override {
extraPkgs = pkgs:
2024-02-02 16:13:55 +01:00
with pkgs; [
xorg.libXcursor
xorg.libXi
xorg.libXinerama
xorg.libXScrnSaver
libpng
libpulseaudio
libvorbis
stdenv.cc.cc.lib
libkrb5
keyutils
];
};
2023-12-10 05:19:43 +01:00
};
programs.xwayland.enable = true;
2024-07-30 13:31:54 +02:00
programs.gamescope.enable = true;
2023-12-10 05:19:43 +01:00
environment.systemPackages = with pkgs; [
protonup-qt
];
# hardware.xone.enable = true; # USB only, not needed ATM, and incompatible with recent kernels, bluetooth FTW
2024-08-06 23:45:09 +02:00
hardware.xpadneo.enable = true; # Wireless
2024-08-09 21:50:47 +02:00
hardware.bluetooth.enable = true;
hardware.steam-hardware.enable = true;
2023-12-10 05:19:43 +01:00
}