remove flaresolverr and add state management for jellyseerr

This commit is contained in:
Rohan Datar
2025-01-11 16:54:21 -06:00
parent 77682e0ae1
commit 3f98c61393
3 changed files with 25 additions and 116 deletions
+5
View File
@@ -73,6 +73,11 @@ with lib; let
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 {} + \)
'';
};
in {
imports = [