From a9a575c84ea5e4a18707859fce6a08fbede97e06 Mon Sep 17 00:00:00 2001 From: Alexander Wainwright Date: Sun, 29 Jun 2025 00:13:41 +1000 Subject: [PATCH] Add prowlarr and flaresolverr --- hosts/alt/configuration.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/hosts/alt/configuration.nix b/hosts/alt/configuration.nix index f7c7bfc..7e877ad 100644 --- a/hosts/alt/configuration.nix +++ b/hosts/alt/configuration.nix @@ -19,9 +19,12 @@ privileged = true; }; + networking.firewall.allowedTCPPorts = [ 8000 8080 9117 8191 ]; + networking.hostName = "alt"; # Define your hostname. environment.systemPackages = with pkgs; [ + flaresolverr filebrowser ]; @@ -48,6 +51,21 @@ }; users.users.sonarr.extraGroups = [ "users" ]; + services.prowlarr = { + enable = true; + openFirewall = true; + }; + + systemd.services.flaresolverr = { + description = "Flaresolverr headless browser proxy"; + wantedBy = [ "multi-user.target" ]; + serviceConfig = { + ExecStart = "${pkgs.flaresolverr}/bin/flaresolverr --root files --address 0.0.0.0"; + Restart = "always"; + RestartSec = "5s"; + }; + }; + # This value determines the NixOS release from which the default # settings for stateful data, like file locations and database versions # on your system were taken. It‘s perfectly fine and recommended to leave