From bd3c20965491d2aa7fbd345a43e412b34e0a6ec2 Mon Sep 17 00:00:00 2001 From: notohh Date: Sun, 21 May 2023 14:13:46 -0400 Subject: [PATCH] arr: move *arr to monofile --- modules/services/arr/default.nix | 21 ++++++++++++++++----- modules/services/arr/prowlarr.nix | 6 ------ modules/services/arr/radarr.nix | 7 ------- modules/services/arr/sonarr.nix | 7 ------- 4 files changed, 16 insertions(+), 25 deletions(-) delete mode 100644 modules/services/arr/prowlarr.nix delete mode 100644 modules/services/arr/radarr.nix delete mode 100644 modules/services/arr/sonarr.nix diff --git a/modules/services/arr/default.nix b/modules/services/arr/default.nix index 83cc720..c2cbc4f 100644 --- a/modules/services/arr/default.nix +++ b/modules/services/arr/default.nix @@ -1,7 +1,18 @@ {...}: { - imports = [ - ./sonarr.nix - ./radarr.nix - ./prowlarr.nix - ]; + services.radarr = { + enable = true; + openFirewall = true; + dataDir = "/var/lib/radarr"; + }; + + services.sonarr = { + enable = true; + openFirewall = true; + dataDir = "/var/lib/sonarr"; + }; + + services.prowlarr = { + enable = true; + openFirewall = true; + }; } diff --git a/modules/services/arr/prowlarr.nix b/modules/services/arr/prowlarr.nix deleted file mode 100644 index c404841..0000000 --- a/modules/services/arr/prowlarr.nix +++ /dev/null @@ -1,6 +0,0 @@ -{...}: { - services.prowlarr = { - enable = true; - openFirewall = true; - }; -} diff --git a/modules/services/arr/radarr.nix b/modules/services/arr/radarr.nix deleted file mode 100644 index e6ce396..0000000 --- a/modules/services/arr/radarr.nix +++ /dev/null @@ -1,7 +0,0 @@ -{...}: { - services.radarr = { - enable = true; - openFirewall = true; - dataDir = "/var/lib/radarr"; - }; -} diff --git a/modules/services/arr/sonarr.nix b/modules/services/arr/sonarr.nix deleted file mode 100644 index b374a72..0000000 --- a/modules/services/arr/sonarr.nix +++ /dev/null @@ -1,7 +0,0 @@ -{...}: { - services.sonarr = { - enable = true; - openFirewall = true; - dataDir = "/var/lib/sonarr"; - }; -}