Get steam to respect XDG conventions
This commit is contained in:
parent
f3c33caef1
commit
5414f78f1e
|
@ -2,8 +2,16 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
my.packages = with pkgs; [
|
my.packages = with pkgs; [
|
||||||
steam
|
# Get steam to keep its garbage out of $HOME
|
||||||
steam-run-native # for GOG or humblebundle games
|
(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
|
xboxdrv # driver for 360 controller
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue