diff --git a/home/program/bash/module/Bottle.nix b/home/program/bash/module/Bottle.nix index 4d2f3b21..ab9ed7b8 100644 --- a/home/program/bash/module/Bottle.nix +++ b/home/program/bash/module/Bottle.nix @@ -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. diff --git a/package/default.nix b/package/default.nix index 6c149d61..74cef06a 100644 --- a/package/default.nix +++ b/package/default.nix @@ -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; [ diff --git a/package/steamrun/default.nix b/package/steamrun/default.nix new file mode 100644 index 00000000..57350413 --- /dev/null +++ b/package/steamrun/default.nix @@ -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 + ]; + }; +}