nixos/jackflix: Add Sonarr

This commit is contained in:
2022-06-12 15:17:35 +01:00
parent e52518259c
commit f99eb399dc
3 changed files with 19 additions and 1 deletions

View File

@@ -35,8 +35,11 @@
users = {
groups.media.gid = 2000;
users = {
"${config.my.user.config.name}".extraGroups = [ "media" ];
transmission.extraGroups = [ "media" ];
radarr.extraGroups = [ "media" ];
sonarr.extraGroups = [ "media" ];
};
};
@@ -46,6 +49,7 @@
transmission.bindsTo = [ "systemd-networkd-wait-online@vpn.service" ];
radarr.serviceConfig.UMask = "0002";
sonarr.serviceConfig.UMask = "0002";
};
};
@@ -74,6 +78,7 @@
jackett.enable = true;
radarr.enable = true;
sonarr.enable = true;
jellyfin.enable = true;
};

View File

@@ -191,6 +191,19 @@ in
}
(ssoServer "generic")
];
"sonarr-test.${lib.my.pubDomain}" = mkMerge [
{
locations."/" = mkMerge [
{
proxyPass = "http://jackflix-ctr.${config.networking.domain}:8989";
proxyWebsockets = true;
}
(ssoLoc "generic")
];
useACMEHost = lib.my.pubDomain;
}
(ssoServer "generic")
];
"jackflix-test.${lib.my.pubDomain}" =
let