nixos-configs/configurations/nos/modules/subtitles/syncing.nix
matt1432 d624d33b01
All checks were successful
Discord / discord commits (push) Has been skipped
feat(nos): reenable subtitle management
2025-01-28 00:08:00 -05:00

18 lines
310 B
Nix

{
bazarr-bulk,
config,
lib,
system,
writeShellApplication,
...
}: let
inherit (lib) getExe;
bbPkg = bazarr-bulk.packages.${system}.default;
in
writeShellApplication {
name = "bb";
text = ''
exec ${getExe bbPkg} --config ${config.sops.secrets.bazarr-bulk.path} "$@"
'';
}