mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
nixos/jellyseerr: rename jellyseerr module to seerr
Paths are purposedly not changing for now. Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr> Signed-off-by: Nicolas Dumazet <nicdumz.commits@gmail.com>
This commit is contained in:
committed by
Nicolas Dumazet
parent
42d2e1ccf6
commit
849bac24f8
@@ -105,7 +105,7 @@ In addition to numerous new and updated packages, this release has the following
|
||||
|
||||
- [vmalert](https://victoriametrics.com/), an alerting engine for VictoriaMetrics. Available as [services.vmalert.instances](#opt-services.vmalert.instances._name_.enable).
|
||||
|
||||
- [jellyseerr](https://github.com/Fallenbagel/jellyseerr), a web-based requests manager for Jellyfin, forked from Overseerr. Available as [services.jellyseerr](#opt-services.jellyseerr.enable).
|
||||
- [jellyseerr](https://github.com/Fallenbagel/jellyseerr), a web-based requests manager for Jellyfin, forked from Overseerr. Available as `services.jellyseerr`.
|
||||
|
||||
- [kavita](https://kavitareader.com), a self-hosted digital library. Available as [services.kavita](options.html#opt-services.kavita.enable).
|
||||
|
||||
|
||||
@@ -211,6 +211,8 @@ See <https://github.com/NixOS/nixpkgs/issues/481673>.
|
||||
|
||||
- `geph` package's built-in GUI `geph5-client-gui` has been [removed](https://github.com/geph-official/geph5/commit/f2221fb8386312daf2cef05483ebb353ff48bdb4) by the upstream. All users who wish to continue using the GUI should install the `gephgui-wry`, which is consistent with the official release version.
|
||||
|
||||
- `services.jellyseerr` has been renamed to `services.seerr` following the upstream changes. Service name changed accordingly.
|
||||
|
||||
- `services.vikunja` has been updated to Vikunja [v1.0.0](https://vikunja.io/changelog/whats-new-in-vikunja-1.0.0/), which introduces multiple breaking changes.
|
||||
Notable breaking changes:
|
||||
- CORS is enabled by default. The module now sets
|
||||
|
||||
@@ -884,7 +884,6 @@
|
||||
./services/misc/irkerd.nix
|
||||
./services/misc/jackett.nix
|
||||
./services/misc/jellyfin.nix
|
||||
./services/misc/jellyseerr.nix
|
||||
./services/misc/kiwix-serve.nix
|
||||
./services/misc/klipper.nix
|
||||
./services/misc/languagetool.nix
|
||||
@@ -950,6 +949,7 @@
|
||||
./services/misc/rumno.nix
|
||||
./services/misc/safeeyes.nix
|
||||
./services/misc/sdrplay.nix
|
||||
./services/misc/seerr.nix
|
||||
./services/misc/servarr/lidarr.nix
|
||||
./services/misc/servarr/prowlarr.nix
|
||||
./services/misc/servarr/radarr.nix
|
||||
|
||||
@@ -5,25 +5,29 @@
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.services.jellyseerr;
|
||||
cfg = config.services.seerr;
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
(lib.mkRenamedOptionModule [ "services" "jellyseerr" ] [ "services" "seerr" ])
|
||||
];
|
||||
|
||||
meta.maintainers = [ lib.maintainers.camillemndn ];
|
||||
|
||||
options.services.jellyseerr = {
|
||||
enable = lib.mkEnableOption "Jellyseerr, a requests manager for Jellyfin";
|
||||
options.services.seerr = {
|
||||
enable = lib.mkEnableOption "Seerr, a requests manager for Jellyfin";
|
||||
package = lib.mkPackageOption pkgs "seerr" { };
|
||||
|
||||
openFirewall = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
description = "Open port in the firewall for the Jellyseerr web interface.";
|
||||
description = "Open port in the firewall for the Seerr web interface.";
|
||||
};
|
||||
|
||||
port = lib.mkOption {
|
||||
type = lib.types.port;
|
||||
default = 5055;
|
||||
description = "The port which the Jellyseerr web UI should listen to.";
|
||||
description = "The port which the Seerr web UI should listen to.";
|
||||
};
|
||||
|
||||
configDir = lib.mkOption {
|
||||
@@ -34,8 +38,8 @@ in
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
systemd.services.jellyseerr = {
|
||||
description = "Jellyseerr, a requests manager for Jellyfin";
|
||||
systemd.services.seerr = {
|
||||
description = "Seerr, a requests manager for Jellyfin";
|
||||
after = [ "network.target" ];
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
environment = {
|
||||
@@ -793,7 +793,6 @@ in
|
||||
isso = runTest ./isso.nix;
|
||||
jackett = runTest ./jackett.nix;
|
||||
jellyfin = runTest ./jellyfin.nix;
|
||||
jellyseerr = runTest ./jellyseerr.nix;
|
||||
jenkins = runTest ./jenkins.nix;
|
||||
jenkins-cli = runTest ./jenkins-cli.nix;
|
||||
jibri = runTest ./jibri.nix;
|
||||
@@ -1451,6 +1450,7 @@ in
|
||||
sdl3 = runTest ./sdl3.nix;
|
||||
searx = runTest ./searx.nix;
|
||||
seatd = runTest ./seatd.nix;
|
||||
seerr = runTest ./seerr.nix;
|
||||
send = runTest ./send.nix;
|
||||
service-runner = runTest ./service-runner.nix;
|
||||
servo = runTest ./servo.nix;
|
||||
|
||||
@@ -1,17 +1,17 @@
|
||||
{ lib, ... }:
|
||||
{
|
||||
name = "jellyseerr";
|
||||
name = "seerr";
|
||||
meta.maintainers = with lib.maintainers; [ matteopacini ];
|
||||
|
||||
nodes.machine =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
services.jellyseerr.enable = true;
|
||||
services.seerr.enable = true;
|
||||
};
|
||||
|
||||
testScript = ''
|
||||
machine.start()
|
||||
machine.wait_for_unit("jellyseerr.service")
|
||||
machine.wait_for_unit("seerr.service")
|
||||
machine.wait_for_open_port(5055)
|
||||
machine.succeed("curl --fail http://localhost:5055/")
|
||||
'';
|
||||
Reference in New Issue
Block a user