migrate media services to pocketid
Some checks failed
/ lint (push) Failing after 34s

This commit is contained in:
Jana Dönszelmann 2026-01-03 11:51:49 +01:00
parent 5f9ef795c0
commit 612b7a13a7
No known key found for this signature in database
10 changed files with 69 additions and 126 deletions

View file

@ -1,4 +1,5 @@
_: {
{ pkgs, ... }:
{
services.nginx = {
virtualHosts."sonarr.donsz.nl" = {
forceSSL = true;
@ -10,10 +11,19 @@ _: {
};
};
};
services.oauth2-proxy.nginx.virtualHosts."sonarr.donsz.nl" = {
allowed_groups = [ "torrent" ];
};
services.sonarr = {
enable = true;
group = "jellyfin";
user = "jellyfin";
environmentFiles = [
(pkgs.writeText "env" ''
SONARR__AUTH__METHOD="External"
'')
];
};
}