Add start / stop replay commands
This commit is contained in:
parent
a89b661b64
commit
ef38f69694
|
@ -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" = {
|
||||
|
|
Loading…
Reference in a new issue