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:
parent
e7528765a9
commit
345c62a477
@ -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" = {
|
||||
|
@ -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 = [
|
||||
|
Loading…
x
Reference in New Issue
Block a user