Add wrappers for 2ship2harkinian and sm64ex also.

Set the steam launcher to run /home/deck/.nix-profile/bin/steam_<GAME> to have it work inside steam gaming mode.
This commit is contained in:
Tom Alexander 2025-02-15 20:50:34 -05:00
parent e7528765a9
commit 345c62a477
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE
2 changed files with 14 additions and 0 deletions

View File

@ -6,6 +6,12 @@
...
}:
let
steam_2s2h = pkgs.writeScriptBin "steam_2s2h" ''
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${pkgs.libglvnd}/lib"
exec ${pkgs._2ship2harkinian}/bin/2s2h
'';
in
{
imports = [ ];
@ -26,6 +32,7 @@
(lib.mkIf config.me.graphical {
home.packages = with pkgs; [
_2ship2harkinian
steam_2s2h
];
home.file.".local/share/2ship/2ship2harkinian.json" = {

View File

@ -5,6 +5,12 @@
...
}:
let
steam_sm64ex = pkgs.writeScriptBin "steam_sm64ex" ''
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${pkgs.libglvnd}/lib"
exec ${pkgs.sm64ex}/bin/sm64ex
'';
in
{
imports = [ ];
@ -24,6 +30,7 @@
home.packages = with pkgs; [
sm64ex
steam_sm64ex
];
# nixpkgs.overlays = [