feat: autobrr

This commit is contained in:
Simon Elsbrock
2025-03-18 20:47:47 +01:00
parent 2e7d3a901d
commit 6652d174dc
2 changed files with 208 additions and 0 deletions
+6
View File
@@ -81,6 +81,10 @@ with lib; let
chown -R jellyseerr:root "${cfg.jellyseerr.stateDir}"
find "${cfg.jellyseerr.stateDir}" \( -type d -exec chmod 0700 {} + -true \) -o \( -exec chmod 0600 {} + \)
''
+ strings.optionalString cfg.autobrr.enable ''
chown -R autobrr:root "${cfg.autobrr.stateDir}"
find "${cfg.autobrr.stateDir}" \( -type d -exec chmod 0700 {} + -true \) -o \( -exec chmod 0600 {} + \)
''
+ strings.optionalString cfg.recyclarr.enable ''
chown -R recyclarr:root "${cfg.recyclarr.stateDir}"
find "${cfg.recyclarr.stateDir}" \( -type d -exec chmod 0700 {} + -true \) -o \( -exec chmod 0600 {} + \)
@@ -88,6 +92,7 @@ with lib; let
};
in {
imports = [
./autobrr
./jellyfin
./jellyseerr
./plex
@@ -141,6 +146,7 @@ in {
- [Sonarr](#nixarr.sonarr.enable)
- [Transmission](#nixarr.transmission.enable)
- [SABnzbd](#nixarr.sabnzbd.enable)
- [Autobrr](#nixarr.autobrr.enable)
Remember to read the options.