From 7d80b0ad871567ce8cb855b6a74b56f5c9da5974 Mon Sep 17 00:00:00 2001 From: notohh Date: Mon, 22 Jan 2024 21:58:47 -0500 Subject: [PATCH] kariru: move flaresolverr to default.nix --- hosts/kariru/services/default.nix | 9 +++++++-- hosts/kariru/services/flaresolverr.nix | 7 ------- 2 files changed, 7 insertions(+), 9 deletions(-) delete mode 100644 hosts/kariru/services/flaresolverr.nix diff --git a/hosts/kariru/services/default.nix b/hosts/kariru/services/default.nix index c02cbad..3a9ddbd 100644 --- a/hosts/kariru/services/default.nix +++ b/hosts/kariru/services/default.nix @@ -1,11 +1,11 @@ -{...}: { +{pkgs, ...}: { networking.firewall.allowedTCPPorts = [9292]; imports = [ ./restic.nix ./traefik.nix ./torrent.nix - ./flaresolverr.nix ]; + environment.systemPackages = [pkgs.recyclarr]; services.radarr = { enable = true; openFirewall = true; @@ -64,5 +64,10 @@ ]; extraOptions = ["--network=host"]; }; + flaresolverr = { + image = "ghcr.io/flaresolverr/flaresolverr:v3.3.13"; + ports = ["8191:8191"]; + extraOptions = ["--network=host"]; + }; }; } diff --git a/hosts/kariru/services/flaresolverr.nix b/hosts/kariru/services/flaresolverr.nix deleted file mode 100644 index cd3c98a..0000000 --- a/hosts/kariru/services/flaresolverr.nix +++ /dev/null @@ -1,7 +0,0 @@ -_: { - virtualisation.oci-containers.containers.flaresolverr = { - image = "ghcr.io/flaresolverr/flaresolverr:v3.3.13"; - ports = ["8191:8191"]; - extraOptions = ["--network=host"]; - }; -}