From c0435e5ef5265ab3b09e17ecee75ec77385b6ac1 Mon Sep 17 00:00:00 2001 From: Pim Kunis Date: Sun, 29 Dec 2024 16:02:16 +0100 Subject: [PATCH] bazarr: update to 1.5.0 --- flake.lock | 21 +++++++++++++++++++-- flake.nix | 1 + nixng-configurations/bazarr.nix | 7 ++++++- nixng-configurations/default.nix | 3 ++- 4 files changed, 28 insertions(+), 4 deletions(-) diff --git a/flake.lock b/flake.lock index 2cf6ed9..9fcf010 100644 --- a/flake.lock +++ b/flake.lock @@ -676,11 +676,11 @@ "treefmt-nix": "treefmt-nix_2" }, "locked": { - "lastModified": 1734976053, + "lastModified": 1735123092, "narHash": "sha256-hvKsaAgdZKeAv/VnF/W0isS+Ex/5ij7AGmp5tLpFGuQ=", "owner": "pizzapim", "repo": "NixNG", - "rev": "90cbec543482973ef5b314ad40a842623c2696a9", + "rev": "18ac71897e8ac917e5db42b365090b437073b276", "type": "github" }, "original": { @@ -759,6 +759,22 @@ "type": "github" } }, + "nixpkgs-bazarr": { + "locked": { + "lastModified": 1735086895, + "narHash": "sha256-893hOoQn5t9g0r57N0D8/G5WC4pPaNlprjAYO0TWRxc=", + "owner": "r-ryantm", + "repo": "nixpkgs", + "rev": "89e79d58769436a8cfd0d80ae28012d51134f2f3", + "type": "github" + }, + "original": { + "owner": "r-ryantm", + "ref": "auto-update/bazarr", + "repo": "nixpkgs", + "type": "github" + } + }, "nixpkgs-jellyseerr": { "locked": { "lastModified": 1734809038, @@ -939,6 +955,7 @@ "nixhelm": "nixhelm", "nixng": "nixng", "nixpkgs": "nixpkgs_2", + "nixpkgs-bazarr": "nixpkgs-bazarr", "nixpkgs-jellyseerr": "nixpkgs-jellyseerr", "servers": "servers", "treefmt-nix": "treefmt-nix_4" diff --git a/flake.nix b/flake.nix index 2150e62..453d3a9 100644 --- a/flake.nix +++ b/flake.nix @@ -6,6 +6,7 @@ flake-utils.url = "github:numtide/flake-utils"; treefmt-nix.url = "github:numtide/treefmt-nix"; nixpkgs-jellyseerr.url = "github:coonce/nixpkgs?ref=jellyseerr"; + nixpkgs-bazarr.url = "github:r-ryantm/nixpkgs?ref=auto-update/bazarr"; git-hooks = { url = "github:cachix/git-hooks.nix"; diff --git a/nixng-configurations/bazarr.nix b/nixng-configurations/bazarr.nix index 03d7b6a..72b2334 100644 --- a/nixng-configurations/bazarr.nix +++ b/nixng-configurations/bazarr.nix @@ -1,9 +1,14 @@ -{...}: { +{ + system, + nixpkgs-bazarr, + ... +}: { dinit.enable = true; init.services.bazarr.shutdownOnExit = true; services.bazarr = { enable = true; + package = nixpkgs-bazarr.legacyPackages.${system}.bazarr; configDir = "/config"; }; } diff --git a/nixng-configurations/default.nix b/nixng-configurations/default.nix index 047e013..5343855 100644 --- a/nixng-configurations/default.nix +++ b/nixng-configurations/default.nix @@ -4,6 +4,7 @@ nixng, nixpkgs, nixpkgs-jellyseerr, + nixpkgs-bazarr, ... }: flake-utils.lib.eachDefaultSystem (system: let @@ -24,7 +25,7 @@ in { inherit nixpkgs system; name = "nixng-${name}"; specialArgs = { - inherit nixpkgs-jellyseerr; + inherit nixpkgs-jellyseerr nixpkgs-bazarr; inherit (self) globals; }; config = import configFile;