feat(subs): start setting up bazarr-bulk
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
9ee721e52f
commit
8f08976322
3 changed files with 21 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
||||||
{
|
{
|
||||||
|
bazarr-bulk,
|
||||||
config,
|
config,
|
||||||
|
lib,
|
||||||
pkgs,
|
pkgs,
|
||||||
subsync,
|
subsync,
|
||||||
...
|
...
|
||||||
|
@ -7,12 +9,30 @@
|
||||||
inherit (config.vars) mainUser;
|
inherit (config.vars) mainUser;
|
||||||
|
|
||||||
subsyncPkg = subsync.packages.${pkgs.system}.default;
|
subsyncPkg = subsync.packages.${pkgs.system}.default;
|
||||||
|
bbPkg = bazarr-bulk.packages.${pkgs.system}.default;
|
||||||
|
|
||||||
node-syncsub = pkgs.callPackage ./node-syncsub {
|
node-syncsub = pkgs.callPackage ./node-syncsub {
|
||||||
subsync = subsyncPkg;
|
subsync = subsyncPkg;
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
environment.systemPackages = [subsyncPkg node-syncsub];
|
environment.systemPackages = [
|
||||||
|
subsyncPkg
|
||||||
|
node-syncsub
|
||||||
|
|
||||||
|
(pkgs.writeShellApplication {
|
||||||
|
name = "bb";
|
||||||
|
text = ''
|
||||||
|
exec ${lib.getExe bbPkg} --config ${config.sops.secrets.bazarr-bulk.path} "$@"
|
||||||
|
'';
|
||||||
|
})
|
||||||
|
|
||||||
|
(pkgs.writeShellApplication {
|
||||||
|
name = "bb-fr";
|
||||||
|
text = ''
|
||||||
|
exec ${lib.getExe bbPkg} --config ${config.sops.secrets.bazarr-bulk-fr.path} "$@"
|
||||||
|
'';
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
systemd = {
|
systemd = {
|
||||||
services.subsync-job = {
|
services.subsync-job = {
|
||||||
|
|
BIN
flake.lock
BIN
flake.lock
Binary file not shown.
BIN
flake.nix
BIN
flake.nix
Binary file not shown.
Loading…
Reference in a new issue