From 1ccbd013f8ead0c9492acd2a3f7f64d95a512c10 Mon Sep 17 00:00:00 2001 From: Nettika Date: Sun, 28 Jul 2024 17:13:05 -0700 Subject: [PATCH] Add ffmpeg and ffcheck helper script --- hosts/marauder/default.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/hosts/marauder/default.nix b/hosts/marauder/default.nix index 4a2b2cc..e2e130c 100755 --- a/hosts/marauder/default.nix +++ b/hosts/marauder/default.nix @@ -1,5 +1,9 @@ { self, pkgs, inputs, secrets, ... }: -{ +let + ffcheck = pkgs.writeShellScriptBin "ffcheck" '' + ${pkgs.ffmpeg}/bin/ffmpeg -v error -stats -hide_banner -i "$1" -c copy -f null - + ''; +in { imports = [ self.nixosModules.common self.nixosModules.prompt @@ -77,6 +81,8 @@ # Multimedia vlc + ffmpeg + ffcheck # Productivity obsidian