21 lines
561 B
Nix
21 lines
561 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
my.packages = with pkgs; [
|
|
# Get steam to keep its garbage out of $HOME
|
|
(writeScriptBin "steam" ''
|
|
#!${stdenv.shell}
|
|
HOME="$XDG_DATA_HOME/steamlib" exec ${steam}/bin/steam "$@"
|
|
'')
|
|
# for GOG and humblebundle games
|
|
(writeScriptBin "steam-run" ''
|
|
#!${stdenv.shell}
|
|
HOME="$XDG_DATA_HOME/steamlib" exec ${steam-run-native}/bin/steam-run "$@"
|
|
'')
|
|
xboxdrv # driver for 360 controller
|
|
];
|
|
|
|
hardware.opengl.driSupport32Bit = true;
|
|
hardware.pulseaudio.support32Bit = true;
|
|
}
|