forked from mirrors_public/oddlama_nix-config
chore: format everything
This commit is contained in:
parent
deca311c68
commit
7ccd7856ee
162 changed files with 4750 additions and 3718 deletions
|
@ -3,7 +3,8 @@
|
|||
pkgs,
|
||||
nixosConfig,
|
||||
...
|
||||
}: let
|
||||
}:
|
||||
let
|
||||
save-replay = pkgs.writeShellApplication {
|
||||
name = "gpu-screen-recorder-save-replay";
|
||||
runtimeInputs = [
|
||||
|
@ -34,7 +35,7 @@
|
|||
|
||||
on-stop-service = pkgs.writeShellApplication {
|
||||
name = "gpu-screen-recorder-stop-service";
|
||||
runtimeInputs = [pkgs.libnotify];
|
||||
runtimeInputs = [ pkgs.libnotify ];
|
||||
text = ''
|
||||
if [[ "$SERVICE_RESULT" == "success" ]]; then
|
||||
notify-send '🎥 GPU Screen Recorder' '🔴 Replay service stopped!' \
|
||||
|
@ -85,7 +86,8 @@
|
|||
-o "$GSR_OUTPUTDIR"
|
||||
'';
|
||||
};
|
||||
in {
|
||||
in
|
||||
{
|
||||
lib.gpu-screen-recorder = {
|
||||
inherit save-replay;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue