2024-03-26 11:26:06 -04:00
|
|
|
{
|
2024-05-16 22:46:44 -04:00
|
|
|
bazarr-bulk,
|
2024-03-26 11:26:06 -04:00
|
|
|
config,
|
2024-05-16 22:46:44 -04:00
|
|
|
lib,
|
2024-03-26 11:26:06 -04:00
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}: let
|
2024-05-16 22:46:44 -04:00
|
|
|
bbPkg = bazarr-bulk.packages.${pkgs.system}.default;
|
2024-05-18 23:49:54 -04:00
|
|
|
in
|
|
|
|
pkgs.writeShellApplication {
|
|
|
|
name = "bb";
|
|
|
|
text = ''
|
|
|
|
exec ${lib.getExe bbPkg} --config ${config.sops.secrets.bazarr-bulk.path} "$@"
|
|
|
|
'';
|
|
|
|
}
|