programs: ship exiftool
This commit is contained in:
@@ -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
|
# something inside pleroma invokes `sh` w/o specifying it by path, so this is needed to allow pleroma to start
|
||||||
pkgs.bash
|
pkgs.bash
|
||||||
# used by Pleroma to strip geo tags from uploads
|
# 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
|
# i saw some errors when pleroma was shutting down about it not being able to find `awk`. probably not critical
|
||||||
pkgs.gawk
|
pkgs.gawk
|
||||||
# needed for email operations like password reset
|
# needed for email operations like password reset
|
||||||
|
@@ -127,6 +127,7 @@ in
|
|||||||
# "dmidecode"
|
# "dmidecode"
|
||||||
"dtrx" # `unar` alternative, "Do The Right eXtraction"
|
"dtrx" # `unar` alternative, "Do The Right eXtraction"
|
||||||
# "efivar"
|
# "efivar"
|
||||||
|
"exiftool"
|
||||||
"eza" # a better 'ls'
|
"eza" # a better 'ls'
|
||||||
# "flashrom"
|
# "flashrom"
|
||||||
"git" # needed as a user package, for config.
|
"git" # needed as a user package, for config.
|
||||||
|
@@ -41,6 +41,7 @@
|
|||||||
./epiphany.nix
|
./epiphany.nix
|
||||||
./errno.nix
|
./errno.nix
|
||||||
./evince.nix
|
./evince.nix
|
||||||
|
./exiftool.nix
|
||||||
./fcitx5.nix
|
./fcitx5.nix
|
||||||
./feedbackd.nix
|
./feedbackd.nix
|
||||||
./firefox.nix
|
./firefox.nix
|
||||||
|
7
hosts/common/programs/exiftool.nix
Normal file
7
hosts/common/programs/exiftool.nix
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
sane.programs.exiftool = {
|
||||||
|
sandbox.method = "bwrap";
|
||||||
|
sandbox.autodetectCliPaths = "existingFile";
|
||||||
|
};
|
||||||
|
}
|
@@ -218,6 +218,9 @@ in
|
|||||||
"sane-scripts.sync-music" = {};
|
"sane-scripts.sync-music" = {};
|
||||||
"sane-scripts.sync-from-iphone" = {};
|
"sane-scripts.sync-from-iphone" = {};
|
||||||
|
|
||||||
|
"sane-scripts.tag-music".suggestedPrograms = [
|
||||||
|
"exiftool" #< for (slightly) better sandboxing than default exiftool
|
||||||
|
];
|
||||||
"sane-scripts.tag-music".sandbox = {
|
"sane-scripts.tag-music".sandbox = {
|
||||||
method = "bwrap";
|
method = "bwrap";
|
||||||
autodetectCliPaths = "existing";
|
autodetectCliPaths = "existing";
|
||||||
|
Reference in New Issue
Block a user