From f7d138dd19376056a013bdec24aa1bdbee9dc012 Mon Sep 17 00:00:00 2001 From: wi11-holdsworth <83637728+wi11-holdsworth@users.noreply.github.com> Date: Wed, 31 Dec 2025 16:05:35 +1100 Subject: [PATCH 1/2] feat: install bazarr --- modules/nixos/bundles/server.nix | 1 + modules/nixos/features/bazarr.nix | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 modules/nixos/features/bazarr.nix diff --git a/modules/nixos/bundles/server.nix b/modules/nixos/bundles/server.nix index a084543..127e2c3 100644 --- a/modules/nixos/bundles/server.nix +++ b/modules/nixos/bundles/server.nix @@ -5,6 +5,7 @@ { imports = util.toImports ../features [ # keep-sorted start + "bazarr" "copyparty" "couchdb" "flaresolverr" diff --git a/modules/nixos/features/bazarr.nix b/modules/nixos/features/bazarr.nix new file mode 100644 index 0000000..c1ebae6 --- /dev/null +++ b/modules/nixos/features/bazarr.nix @@ -0,0 +1,19 @@ +let + port = 5017; +in +{ + services = { + bazarr = { + enable = true; + dataDir = "/srv/bazarr"; + group = "media"; + listenPort = port; + }; + + nginx.virtualHosts."bazarr.fi33.buzz" = { + forceSSL = true; + useACMEHost = "fi33.buzz"; + locations."/".proxyPass = "http://localhost:${toString port}"; + }; + }; +} From 9ee61d787aa72c9b4bffbe011696f97d9d4ace3a Mon Sep 17 00:00:00 2001 From: wi11-holdsworth <83637728+wi11-holdsworth@users.noreply.github.com> Date: Wed, 31 Dec 2025 16:40:40 +1100 Subject: [PATCH 2/2] feat: add bazarr to homepage dashboard --- modules/nixos/features/homepage-dashboard.nix | 13 +++++++++++++ secrets/bazarr.age | 9 +++++++++ secrets/secrets.nix | 1 + 3 files changed, 23 insertions(+) create mode 100644 secrets/bazarr.age diff --git a/modules/nixos/features/homepage-dashboard.nix b/modules/nixos/features/homepage-dashboard.nix index 4a2be45..bd2a28b 100644 --- a/modules/nixos/features/homepage-dashboard.nix +++ b/modules/nixos/features/homepage-dashboard.nix @@ -23,6 +23,7 @@ let secrets = [ # keep-sorted start + "bazarr" "immich" "jellyfin" "karakeep" @@ -98,6 +99,18 @@ in }; }; } + { + "Bazarr" = { + "description" = "Subtitle downloader and manager"; + "icon" = "bazarr.svg"; + "href" = "https://bazarr.fi33.buzz/"; + "widget" = { + "type" = "bazarr"; + "url" = "https://bazarr.fi33.buzz/"; + "key" = "@bazarr@"; + }; + }; + } { "Prowlarr" = { "description" = "Indexer management tool"; diff --git a/secrets/bazarr.age b/secrets/bazarr.age new file mode 100644 index 0000000..82d61ca --- /dev/null +++ b/secrets/bazarr.age @@ -0,0 +1,9 @@ +age-encryption.org/v1 +-> ssh-ed25519 qLT+DQ pNb65h8kPUdFi7vgKoENqFf9NuQAfegSAM+SVxoTdGQ +7pDfhxs55Q4HQetasY6tZX76aOleLTCTi3xEdCqPdFo +-> ssh-ed25519 7+xRyQ SiBuQH6fIUFidqFUIFfE9i0zJhuMAWYmDCeszOJLZlE +ASEBjHaAVrH6z/43Rfnh2P0REg7f0b53fqbLHD44P8g +-> ssh-ed25519 LtK9yQ F6FnS/nRerbt/tMCl48CMjyKwhgCI8ti40klovGXdGU +ksVfKN3xowiBhwzyS9DLdmVX1QLCo8hvNiNux0MkiXU +--- rMrNsQ0G/k0MAwDOBd9IYDb2Lc8N/RaGXIGKtm9FL1c +q 9o-dtB7v*i:.G/t),+/vCD}SX(} *4[~l \ No newline at end of file diff --git a/secrets/secrets.nix b/secrets/secrets.nix index e52a32d..d13f6ed 100644 --- a/secrets/secrets.nix +++ b/secrets/secrets.nix @@ -15,6 +15,7 @@ let in { # keep-sorted start + "bazarr.age".publicKeys = users; "borgmatic-pg.age".publicKeys = users; "borgmatic.age".publicKeys = users; "copyparty-will.age".publicKeys = users;