Add start / stop replay commands

This commit is contained in:
Joseph DiGiovanni 2024-07-25 22:18:43 -04:00
parent 87d33f1089
commit 5d9be69a44

View file

@ -13,11 +13,21 @@ let
fi
'';
gsr-start-replay = pkgs.writeShellScriptBin "gsr-start-replay" ''
systemctl --user start gsr-replay.service
'';
gsr-stop-replay = pkgs.writeShellScriptBin "gsr-stop-replay" ''
systemctl --user stop gsr-replay.service
'';
outputDir = "Videos/Replays";
in
{
environment.systemPackages = [
gsr-save-replay
gsr-start-replay
gsr-stop-replay
];
security.wrappers."gsr-kms-server" = {