59 lines
904 B
Nix
59 lines
904 B
Nix
|
{ pkgs, lib, ... }:
|
||
|
{
|
||
|
# Gaming
|
||
|
hardware.xone.enable = true;
|
||
|
environment.systemPackages = with pkgs; [
|
||
|
#Xbox controller
|
||
|
linuxKernel.packages.linux_zen.xone
|
||
|
|
||
|
# 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
|
||
|
];
|
||
|
};
|
||
|
};
|
||
|
|
||
|
}
|