Steamrun: Use custom wrapper.

This commit is contained in:
Dmitry Voronin 2024-12-17 08:36:47 +03:00
parent 2837c4bf85
commit 15a2b9b1fc
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k
3 changed files with 14 additions and 2 deletions

View file

@ -11,7 +11,7 @@
function btc() { function btc() {
local env="''${1}" local env="''${1}"
[[ "''${env}" = "" ]] && env="gaming" [[ "''${env}" = "" ]] && env="gaming"
bottles-cli new --bottle-name "''${SHELL_NAME}" --environment "''${env}" "''${@:2}" 2> /dev/null bottles-cli new --bottle-name "''${SHELL_NAME}" --environment "''${env}" "''${@:2}"
} }
# Run a file inside a bottle. # Run a file inside a bottle.

View file

@ -129,9 +129,10 @@
mangohud # Realtime stats overlay. mangohud # Realtime stats overlay.
scanmem # Memory edit tool. scanmem # Memory edit tool.
steam # Gaming platform. steam # Gaming platform.
steam-run # Run games outside of Steam.
vkd3d # Directx to Vulkan. vkd3d # Directx to Vulkan.
wine64 # Run Windows software on Linux. wine64 # Run Windows software on Linux.
(import ./steamrun args).pkg # Steam env to run native games.
]; ];
creative = with pkgs; [ creative = with pkgs; [

View file

@ -0,0 +1,11 @@
{
inputs,
pkgs,
...
}: {
pkg = pkgs.callPackage "${inputs.nixpkgs}/pkgs/by-name/st/steam/package.nix" {
extraLibraries = pkgs: with pkgs; [
openssl_1_1
];
};
}