Move caches off longhorn

This commit is contained in:
Pim Kunis 2025-05-29 12:24:49 +02:00
parent b52262792d
commit 850af1b1bf
4 changed files with 18 additions and 41 deletions

View file

@ -74,7 +74,10 @@ in {
};
volumes = {
cache.persistentVolumeClaim.claimName = "jellyfin-cache";
cache.hostPath = {
path = "/tmp/jellyfin-cache";
type = "DirectoryOrCreate";
};
music.hostPath = {
path = "/mnt/longhorn/persistent/music";
@ -587,13 +590,6 @@ in {
};
};
};
persistentVolumeClaims.jellyfin-cache = lib.mkIf cfg.jellyfin.enable {
spec = {
accessModes = ["ReadWriteOnce"];
resources.requests.storage = "20Gi";
};
};
};
lab = {