From f026c3e26f09f824c3fb8b30811efc34bda7dbec Mon Sep 17 00:00:00 2001 From: magic_rb Date: Tue, 9 Jan 2024 14:16:29 +0100 Subject: [PATCH] Reset Jellyfin and move to SSD Signed-off-by: magic_rb --- terranix/containers/jellyfin/default.nix | 22 +++++++++++----------- terranix/containers/jellyfin/job.hcl | 2 +- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/terranix/containers/jellyfin/default.nix b/terranix/containers/jellyfin/default.nix index b1a73e2..b5a5d0f 100644 --- a/terranix/containers/jellyfin/default.nix +++ b/terranix/containers/jellyfin/default.nix @@ -1,24 +1,24 @@ -{ elib, ... }: -let - inherit (elib) +{elib, ...}: let + inherit + (elib) nfsVolume - nomadJob; -in -{ + nomadJob + ; +in { resource."nomad_volume"."jellyfin-cache" = nfsVolume { volume_name = "jellyfin-cache"; access_mode = "single-node-writer"; server = "blowhole.hosts.in.redalder.org"; - share = "/mnt/kyle/infrastructure/jellyfin/cache"; - mount_flags = [ "hard" "vers=4.2" "rsize=131072" "wsize=131072" "async" ]; + share = "/mnt/jimmy/infrastructure/jellyfin/cache"; + mount_flags = ["hard" "vers=4.2" "rsize=131072" "wsize=131072" "async"]; }; resource."nomad_volume"."jellyfin-config" = nfsVolume { volume_name = "jellyfin-config"; access_mode = "single-node-writer"; server = "blowhole.hosts.in.redalder.org"; - share = "/mnt/kyle/infrastructure/jellyfin/config"; - mount_flags = [ "hard" "vers=4.2" "rsize=131072" "wsize=131072" "async" ]; + share = "/mnt/jimmy/infrastructure/jellyfin/config"; + mount_flags = ["hard" "vers=4.2" "rsize=131072" "wsize=131072" "async"]; }; resource."nomad_volume"."jellyfin-media" = nfsVolume { @@ -26,7 +26,7 @@ in access_mode = "single-node-writer"; server = "blowhole.hosts.in.redalder.org"; share = "/mnt/kyle/infrastructure/jellyfin/media"; - mount_flags = [ "hard" "vers=4.2" "rsize=131072" "wsize=131072" "async" ]; + mount_flags = ["hard" "vers=4.2" "rsize=131072" "wsize=131072" "async"]; }; resource."nomad_job"."jellyfin" = nomadJob { diff --git a/terranix/containers/jellyfin/job.hcl b/terranix/containers/jellyfin/job.hcl index 4410328..8646fba 100644 --- a/terranix/containers/jellyfin/job.hcl +++ b/terranix/containers/jellyfin/job.hcl @@ -72,7 +72,7 @@ job "jellyfin" { driver = "docker" config { - image = "jellyfin/jellyfin@sha256:c43fe0077854e823b3f652984f0086774436ed1426cf934af5f954978f9afb10" + image = "jellyfin/jellyfin@sha256:095e6d410d1d27b17cc4a961a9bab9fab5ffce6e49389d8ec685f65ab5538525" # devices = [ # {