Files
dotfiles/nixos/tako/services/prowlarr.nix

19 lines
448 B
Nix

{config, ...}: {
services = {
prowlarr = {
enable = true;
settings = {
auth = {
authentication_enabled = true;
authentication_method = "External";
};
# server.port = 9696;
};
};
};
services.caddy.virtualHosts."prowlarr.darksailor.dev".extraConfig = ''
import auth
reverse_proxy localhost:${toString config.services.prowlarr.settings.server.port or "9696"}
'';
}