Move ffcheck into a separate package

This commit is contained in:
2024-09-23 16:46:50 -07:00
parent 8ef9e1b0be
commit 09a1cc5a26
3 changed files with 4 additions and 6 deletions

View File

@@ -1,9 +1,4 @@
{ self, pkgs, inputs, ... }:
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
@@ -65,7 +60,6 @@ in
environment = {
systemPackages = [
ffcheck
inputs.shelvacu.packages.x86_64-linux.sm64coopdx
] ++ (with pkgs; [
# Chat clients
@@ -88,6 +82,7 @@ in
# Multimedia
vlc
ffmpeg
(callPackage ./ffcheck.nix { })
# Productivity
obsidian

0
hosts/marauder/dev.nix Normal file → Executable file
View File

3
hosts/marauder/ffcheck.nix Executable file
View File

@@ -0,0 +1,3 @@
{ writeShellScriptBin, ffmpeg }: writeShellScriptBin "ffcheck" ''
${ffmpeg}/bin/ffmpeg -v error -stats -hide_banner -i "$1" -c copy -f null -
''