From a9428153d7bd65c5ac860138a0b1b7d1b8791a2b Mon Sep 17 00:00:00 2001 From: Tyler Starr Date: Sun, 3 Sep 2023 20:54:32 -0700 Subject: [PATCH] move scripts and nonsteam games --- home/.chezmoiscripts/run_onchange_add-non-steam.sh | 12 ++++++++++++ .../.chezmoiscripts/run_onchange_chmod-ssh-keys.sh | 0 home/bin/executable_linux-add-nonsteam | 0 provision/nixos/modules/gaming/steam.nix | 1 + 4 files changed, 13 insertions(+) create mode 100644 home/.chezmoiscripts/run_onchange_add-non-steam.sh rename scripts/run_chmod-ssh-keys => home/.chezmoiscripts/run_onchange_chmod-ssh-keys.sh (100%) create mode 100644 home/bin/executable_linux-add-nonsteam diff --git a/home/.chezmoiscripts/run_onchange_add-non-steam.sh b/home/.chezmoiscripts/run_onchange_add-non-steam.sh new file mode 100644 index 00000000..412aca0b --- /dev/null +++ b/home/.chezmoiscripts/run_onchange_add-non-steam.sh @@ -0,0 +1,12 @@ +#!/usr/bin/env bash + +apps=( + "dolphin-emu Dolphin" + "yuzu Yuzu" +) + +for app in "${apps[@]}" +do + set -- $app + steamtinkerlaunch addnonsteamgame -ep="$1" -an="$2" +done diff --git a/scripts/run_chmod-ssh-keys b/home/.chezmoiscripts/run_onchange_chmod-ssh-keys.sh similarity index 100% rename from scripts/run_chmod-ssh-keys rename to home/.chezmoiscripts/run_onchange_chmod-ssh-keys.sh diff --git a/home/bin/executable_linux-add-nonsteam b/home/bin/executable_linux-add-nonsteam new file mode 100644 index 00000000..e69de29b diff --git a/provision/nixos/modules/gaming/steam.nix b/provision/nixos/modules/gaming/steam.nix index b3205f88..2020a057 100644 --- a/provision/nixos/modules/gaming/steam.nix +++ b/provision/nixos/modules/gaming/steam.nix @@ -16,6 +16,7 @@ in { environment.systemPackages = [ pkgs.steam + pkgs.steamtinkerlaunch pkgs-unstable.yuzu-early-access pkgs.dolphin-emu pkgs-unstable.sunshine