Move ffcheck into a separate package
This commit is contained in:
@@ -1,9 +1,4 @@
|
|||||||
{ self, pkgs, inputs, ... }:
|
{ 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 = [
|
imports = [
|
||||||
self.nixosModules.common
|
self.nixosModules.common
|
||||||
@@ -65,7 +60,6 @@ in
|
|||||||
|
|
||||||
environment = {
|
environment = {
|
||||||
systemPackages = [
|
systemPackages = [
|
||||||
ffcheck
|
|
||||||
inputs.shelvacu.packages.x86_64-linux.sm64coopdx
|
inputs.shelvacu.packages.x86_64-linux.sm64coopdx
|
||||||
] ++ (with pkgs; [
|
] ++ (with pkgs; [
|
||||||
# Chat clients
|
# Chat clients
|
||||||
@@ -88,6 +82,7 @@ in
|
|||||||
# Multimedia
|
# Multimedia
|
||||||
vlc
|
vlc
|
||||||
ffmpeg
|
ffmpeg
|
||||||
|
(callPackage ./ffcheck.nix { })
|
||||||
|
|
||||||
# Productivity
|
# Productivity
|
||||||
obsidian
|
obsidian
|
||||||
|
0
hosts/marauder/dev.nix
Normal file → Executable file
0
hosts/marauder/dev.nix
Normal file → Executable file
3
hosts/marauder/ffcheck.nix
Executable file
3
hosts/marauder/ffcheck.nix
Executable file
@@ -0,0 +1,3 @@
|
|||||||
|
{ writeShellScriptBin, ffmpeg }: writeShellScriptBin "ffcheck" ''
|
||||||
|
${ffmpeg}/bin/ffmpeg -v error -stats -hide_banner -i "$1" -c copy -f null -
|
||||||
|
''
|
Reference in New Issue
Block a user