programs: ship exiftool

This commit is contained in:
2024-07-23 17:18:50 +00:00
parent 1fc0ae3066
commit b21002207a
5 changed files with 13 additions and 1 deletions

View File

@@ -135,7 +135,7 @@ in
# something inside pleroma invokes `sh` w/o specifying it by path, so this is needed to allow pleroma to start
pkgs.bash
# used by Pleroma to strip geo tags from uploads
pkgs.exiftool
config.sane.programs.exiftool.package
# i saw some errors when pleroma was shutting down about it not being able to find `awk`. probably not critical
pkgs.gawk
# needed for email operations like password reset

View File

@@ -127,6 +127,7 @@ in
# "dmidecode"
"dtrx" # `unar` alternative, "Do The Right eXtraction"
# "efivar"
"exiftool"
"eza" # a better 'ls'
# "flashrom"
"git" # needed as a user package, for config.

View File

@@ -41,6 +41,7 @@
./epiphany.nix
./errno.nix
./evince.nix
./exiftool.nix
./fcitx5.nix
./feedbackd.nix
./firefox.nix

View File

@@ -0,0 +1,7 @@
{ ... }:
{
sane.programs.exiftool = {
sandbox.method = "bwrap";
sandbox.autodetectCliPaths = "existingFile";
};
}

View File

@@ -218,6 +218,9 @@ in
"sane-scripts.sync-music" = {};
"sane-scripts.sync-from-iphone" = {};
"sane-scripts.tag-music".suggestedPrograms = [
"exiftool" #< for (slightly) better sandboxing than default exiftool
];
"sane-scripts.tag-music".sandbox = {
method = "bwrap";
autodetectCliPaths = "existing";