switch to programs.steam and proton-ge-bin from nixpkgs

proton-ge from nix-gaming is deprecated now that proton-ge-bin is in
nixpkgs
This commit is contained in:
xunuwu 2024-03-19 18:21:09 +01:00
parent 2fd037f3d8
commit a18ceb4f2e
Signed by: xun
SSH key fingerprint: SHA256:Uot/1WoAjWAeqLOHA5vYy4phhVydsH7jCPmBjaPZfgI
8 changed files with 16 additions and 99 deletions

View file

@ -1,32 +0,0 @@
{
pkgs,
inputs,
...
}: let
steam-with-pkgs = pkgs.steam.override {
extraPkgs = pkgs:
with pkgs; [
xorg.libXcursor
xorg.libXi
xorg.libXinerama
xorg.libXScrnSaver
libpng
libpulseaudio
libvorbis
stdenv.cc.cc.lib
libkrb5
keyutils
gamescope
gamemode
mangohud
];
extraProfile = "export STEAM_EXTRA_COMPAT_TOOLS_PATHS='${inputs.nix-gaming.packages.${pkgs.system}.proton-ge}'";
};
in {
home.packages = with pkgs; [
steam-with-pkgs
steam-run
steamtinkerlaunch
protontricks
];
}