nixos/services/profilarr.nix
ediblerope a9649be705 profilarr: swap recyclarr for Dictionarry's Profilarr
Profilarr replaces the recyclarr/TRaSH-Guides flow with a stateful web
service that owns *arr profiles end-to-end via its own UI. Runs as an
oci-container on 127.0.0.1:6868, fronted by nginx at
profilarr.nordhammer.it behind Authelia (one_factor).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-30 20:00:33 +01:00

28 lines
1,009 B
Nix

# services/profilarr.nix — Dictionarry's Profilarr quality-profile manager.
#
# Replaces the old recyclarr/TRaSH-Guides flow. Profilarr runs as a stateful
# web service with its own UI; *arr API keys, profile selections, custom
# formats, and sync schedule all live inside its own DB. Nix only owns the
# container, the storage dir, and the nginx vhost — everything else is
# configured at https://profilarr.nordhammer.it after first boot.
{ config, lib, ... }:
{
config = lib.mkIf (config.networking.hostName == "FredOS-Mediaserver") {
systemd.tmpfiles.rules = [
"d /var/lib/profilarr 0755 root root -"
];
virtualisation.oci-containers.containers.profilarr = {
image = "ghcr.io/dictionarry-hub/profilarr:latest";
volumes = [
"/var/lib/profilarr:/config"
];
# Localhost-only; nginx fronts it at profilarr.nordhammer.it behind Authelia
ports = [ "127.0.0.1:6868:6868" ];
environment = {
TZ = "Europe/London";
};
};
};
}