2024-06-15 01:31:56 +01:00
|
|
|
{ pkgs, lib, ... }:
|
|
|
|
{
|
|
|
|
# Gaming
|
2025-01-04 17:19:47 +00:00
|
|
|
# xone failing to build - https://github.com/NixOS/nixpkgs/pull/347471
|
|
|
|
# hardware.xone.enable = true;
|
2024-06-15 01:31:56 +01:00
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
#Xbox controller
|
2025-01-04 17:19:47 +00:00
|
|
|
# linuxKernel.packages.linux_zen.xone
|
2024-06-15 01:31:56 +01:00
|
|
|
|
|
|
|
# Steam
|
|
|
|
mangohud
|
|
|
|
gamemode
|
|
|
|
|
|
|
|
# WINE
|
|
|
|
wine
|
|
|
|
winetricks
|
|
|
|
protontricks
|
|
|
|
vulkan-tools
|
|
|
|
|
|
|
|
# Lutris
|
|
|
|
lutris
|
|
|
|
|
|
|
|
# Extra dependencies
|
|
|
|
gnutls
|
|
|
|
openldap
|
|
|
|
libgpgerror
|
|
|
|
freetype
|
|
|
|
sqlite
|
|
|
|
libxml2
|
|
|
|
xml2
|
|
|
|
SDL2
|
|
|
|
];
|
|
|
|
|
|
|
|
nixpkgs.config.allowUnfreePredicate = pkg:
|
|
|
|
builtins.elem (lib.getName pkg) [
|
|
|
|
# Add additional package names here
|
|
|
|
"steam"
|
|
|
|
"steam-original"
|
|
|
|
"steam-run"
|
|
|
|
];
|
|
|
|
|
|
|
|
programs.steam = {
|
|
|
|
enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
programs.gamemode.enable = true;
|
|
|
|
|
|
|
|
nixpkgs.config.packageOverrides = pkgs: {
|
|
|
|
steam = pkgs.steam.override {
|
|
|
|
extraPkgs = pkgs: with pkgs; [
|
|
|
|
pango
|
|
|
|
libthai
|
|
|
|
harfbuzz
|
|
|
|
gamemode
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|