Radarr, Sonarr, Prowlarr, and Bazarr now patch their auth setting to None on every service start — auth is handled by Authelia at the proxy. Also updates readme with missing services, settings files, and flake inputs added since the last readme refresh. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
21 lines
630 B
Nix
21 lines
630 B
Nix
#prowlarr.nix
|
|
{ config, pkgs, lib, ... }:
|
|
{
|
|
config = lib.mkIf (config.networking.hostName == "FredOS-Mediaserver") {
|
|
|
|
# Disable built-in auth — Authelia handles it at the reverse proxy
|
|
systemd.services.prowlarr.preStart = lib.mkAfter ''
|
|
config_file="/var/lib/prowlarr/config.xml"
|
|
if [ -f "$config_file" ]; then
|
|
sed -i 's|<AuthenticationMethod>.*</AuthenticationMethod>|<AuthenticationMethod>None</AuthenticationMethod>|' "$config_file"
|
|
fi
|
|
'';
|
|
|
|
# Prowlarr
|
|
services.prowlarr = {
|
|
enable = true;
|
|
openFirewall = true;
|
|
dataDir = "/var/lib/prowlarr";
|
|
};
|
|
};
|
|
}
|