From fd5510444b91aabada4f64926e120ecc01fdd27c Mon Sep 17 00:00:00 2001 From: Pim Kunis Date: Mon, 29 Apr 2024 15:23:31 +0200 Subject: [PATCH] Mount music in syncthing pod --- kubenix-modules/media.nix | 1 + kubenix-modules/syncthing.nix | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/kubenix-modules/media.nix b/kubenix-modules/media.nix index cc1b59f..8892b77 100644 --- a/kubenix-modules/media.nix +++ b/kubenix-modules/media.nix @@ -518,6 +518,7 @@ nfsVolumes = { jellyfin-config.path = "jellyfin/config"; media.path = "media"; + music.path = "media/music"; transmission-config.path = "transmission/config"; jellyseerr-config.path = "jellyseerr/config"; radarr-config.path = "radarr/config"; diff --git a/kubenix-modules/syncthing.nix b/kubenix-modules/syncthing.nix index 422782b..8b0332b 100644 --- a/kubenix-modules/syncthing.nix +++ b/kubenix-modules/syncthing.nix @@ -30,12 +30,17 @@ name = "nextcloud-data"; mountPath = "/data"; } + { + name = "music"; + mountPath = "/music"; + } ]; }; volumes = { config.persistentVolumeClaim.claimName = "syncthing"; nextcloud-data.persistentVolumeClaim.claimName = "nextcloud"; + music.persistentVolumeClaim.claimName = "music"; }; }; };