nixos-configs/devices/nos/modules/subtitles/syncing.nix
matt1432 8d04980e50
All checks were successful
Discord / discord commits (push) Has been skipped
feat(subs): separate mgmt of subs in scripts
2024-05-18 17:51:06 -04:00

18 lines
328 B
Nix

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