Steamrun: Use custom wrapper.
This commit is contained in:
parent
2837c4bf85
commit
15a2b9b1fc
|
@ -11,7 +11,7 @@
|
|||
function btc() {
|
||||
local env="''${1}"
|
||||
[[ "''${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.
|
||||
|
|
|
@ -129,9 +129,10 @@
|
|||
mangohud # Realtime stats overlay.
|
||||
scanmem # Memory edit tool.
|
||||
steam # Gaming platform.
|
||||
steam-run # Run games outside of Steam.
|
||||
vkd3d # Directx to Vulkan.
|
||||
wine64 # Run Windows software on Linux.
|
||||
|
||||
(import ./steamrun args).pkg # Steam env to run native games.
|
||||
];
|
||||
|
||||
creative = with pkgs; [
|
||||
|
|
11
package/steamrun/default.nix
Normal file
11
package/steamrun/default.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue