From 2efd0c24ad497206719fa99328174d04829c9358 Mon Sep 17 00:00:00 2001 From: Richie Cahill Date: Thu, 27 Jun 2024 21:53:53 -0400 Subject: [PATCH] remove envvars --- systems/jeeves/configuration.nix | 6 ------ systems/jeeves/scripts/plex_permission.sh | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/systems/jeeves/configuration.nix b/systems/jeeves/configuration.nix index a369c2d..9e005d8 100644 --- a/systems/jeeves/configuration.nix +++ b/systems/jeeves/configuration.nix @@ -46,12 +46,6 @@ in mode = "0440"; }; }; - variables = { - ZFS_MEDIA = vars.zfs_media; - ZFS_STORAGE = vars.zfs_storage; - ZFS_STORAGE_PLEX = vars.storage_plex; - ZFS_TORRENTING = vars.zfs_torrenting; - }; }; services = { diff --git a/systems/jeeves/scripts/plex_permission.sh b/systems/jeeves/scripts/plex_permission.sh index bf134dd..18094e8 100644 --- a/systems/jeeves/scripts/plex_permission.sh +++ b/systems/jeeves/scripts/plex_permission.sh @@ -1,6 +1,6 @@ #!/bin/bash -plex_dir=$ZFS_STORAGE_PLEX +plex_dir="/zfs/storage/plex/" chown docker-service:users -R "$plex_dir" find "$plex_dir" -type f -exec chmod 664 {} \;