From c11d820191171fe19b42e0716f2b772834172456 Mon Sep 17 00:00:00 2001 From: Pim Kunis Date: Thu, 22 May 2025 23:01:27 +0200 Subject: [PATCH] Move sonarr off longhorn --- modules/bootstrap-default.nix | 1 - modules/media.nix | 10 ++++------ 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/modules/bootstrap-default.nix b/modules/bootstrap-default.nix index 32f4d69..ece7d72 100644 --- a/modules/bootstrap-default.nix +++ b/modules/bootstrap-default.nix @@ -114,7 +114,6 @@ jellyseerr.storage = "75Mi"; radarr.storage = "300Mi"; prowlarr.storage = "150Mi"; - sonarr.storage = "250Mi"; bazarr.storage = "25Mi"; minecraft.storage = "1Gi"; ntfy.storage = "300Mi"; diff --git a/modules/media.nix b/modules/media.nix index a9b4565..d75a718 100644 --- a/modules/media.nix +++ b/modules/media.nix @@ -481,7 +481,10 @@ in { }; volumes = { - config.persistentVolumeClaim.claimName = "sonarr"; + config.hostPath = { + path = "/mnt/longhorn/persistent/volumes/sonarr"; + type = "Directory"; + }; media.hostPath = { path = "/mnt/longhorn/persistent/media"; @@ -822,11 +825,6 @@ in { storage = "150Mi"; }; - sonarr = lib.mkIf cfg.sonarr.enable { - volumeName = "sonarr"; - storage = "250Mi"; - }; - bazarr = lib.mkIf cfg.bazarr.enable { volumeName = "bazarr"; storage = "25Mi";