Add start / stop replay commands
This commit is contained in:
parent
87d33f1089
commit
5d9be69a44
|
@ -13,11 +13,21 @@ let
|
||||||
fi
|
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";
|
outputDir = "Videos/Replays";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
environment.systemPackages = [
|
environment.systemPackages = [
|
||||||
gsr-save-replay
|
gsr-save-replay
|
||||||
|
gsr-start-replay
|
||||||
|
gsr-stop-replay
|
||||||
];
|
];
|
||||||
|
|
||||||
security.wrappers."gsr-kms-server" = {
|
security.wrappers."gsr-kms-server" = {
|
||||||
|
|
Loading…
Reference in a new issue