This commit is contained in:
parent
5f9ef795c0
commit
612b7a13a7
10 changed files with 69 additions and 126 deletions
|
|
@ -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"
|
||||
'')
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue