Bottles: Make a wrapper for SDL_VIDEODRIVER.
This commit is contained in:
parent
382d8dd58f
commit
82f03234cf
10
package/bottles/default.nix
Normal file
10
package/bottles/default.nix
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
{
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
file = pkgs.writeShellScriptBin "bottles" ''
|
||||||
|
#! ${pkgs.bash}/bin/bash
|
||||||
|
export SDL_VIDEODRIVER=
|
||||||
|
exec ${pkgs.bottles}/bin/bottles "$@"
|
||||||
|
'';
|
||||||
|
}
|
|
@ -121,7 +121,6 @@
|
||||||
]);
|
]);
|
||||||
|
|
||||||
gaming = with pkgs; [
|
gaming = with pkgs; [
|
||||||
bottles # GUI for Wine.
|
|
||||||
dxvk # Directx to Vulkan.
|
dxvk # Directx to Vulkan.
|
||||||
gamescope # Compositor for Steam.
|
gamescope # Compositor for Steam.
|
||||||
mangohud # Realtime stats overlay.
|
mangohud # Realtime stats overlay.
|
||||||
|
@ -130,6 +129,8 @@
|
||||||
steam-run # Run games outside of Steam.
|
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 ./bottles args).file # GUI for Wine.
|
||||||
];
|
];
|
||||||
|
|
||||||
creative = with pkgs; [
|
creative = with pkgs; [
|
||||||
|
|
Loading…
Reference in a new issue