dots/modules/nixos/features/prowlarr.nix
2025-10-22 01:22:05 +11:00

27 lines
447 B
Nix

{
lib,
...
}:
let
port = "5009";
in
{
services = {
prowlarr = {
enable = true;
dataDir = "/srv/prowlarr";
settings.server.port = lib.toInt port;
};
nginx = {
virtualHosts."prowlarr.fi33.buzz" = {
forceSSL = true;
useACMEHost = "fi33.buzz";
locations."/" = {
proxyPass = "http://localhost:${port}";
# proxyWebsockets = true;
};
};
};
};
}