From 59a817458d23e32f590e8f719f0caee55be1f699 Mon Sep 17 00:00:00 2001 From: Rohan Datar Date: Sat, 11 Jan 2025 16:58:19 -0600 Subject: [PATCH] fix syntax error --- nixarr/default.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nixarr/default.nix b/nixarr/default.nix index 8fec7af..c551ca7 100644 --- a/nixarr/default.nix +++ b/nixarr/default.nix @@ -72,8 +72,7 @@ with lib; let + strings.optionalString cfg.readarr.enable '' chown -R readarr:root "${cfg.readarr.stateDir}" find "${cfg.readarr.stateDir}" \( -type d -exec chmod 0700 {} + -true \) -o \( -exec chmod 0600 {} + \) - ''; - + '' + strings.optionalString cfg.jellyseerr.enable '' chown -R jellyseerr:root "${cfg.jellyseerr.stateDir}" find "${cfg.jellyseerr.stateDir}" \( -type d -exec chmod 0700 {} + -true \) -o \( -exec chmod 0600 {} + \)