Commit Graph

8 Commits

Author SHA1 Message Date
f86a5f1b39 refactor: split module.nix into per-service modules
Replace the 1301-line monolithic module.nix with focused modules:
- modules/servarr.nix  (Sonarr/Radarr/Prowlarr)
- modules/bazarr.nix   (Bazarr provider connections)
- modules/jellyseerr.nix (Jellyseerr quality profiles)
- modules/default.nix  (import aggregator)

Python scripts (from prior commit) are referenced as standalone
files via PYTHONPATH, with config passed as a JSON file argument.

New options and behavioral changes:
- Add bindAddress option to all services (default 127.0.0.1)
- Change healthChecks default from false to true
- Replace hardcoded wg.service dependency with configurable
  networkNamespaceService option
- Add systemd hardening: PrivateTmp, NoNewPrivileges, ProtectHome,
  ProtectKernelTunables/Modules, ProtectControlGroups,
  RestrictSUIDSGID, SystemCallArchitectures=native

Test updates:
- Extract mock qBittorrent/SABnzbd servers into tests/lib/mocks.nix
- Add healthChecks=false to tests not exercising health checks
- Fix duplicate wait_for_unit calls in integration test
2026-04-16 16:34:04 -04:00
60fcce47df test: add jellyseerr 2026-04-13 19:59:18 -04:00
c5ff0808d2 be more leniant on startup time of *arr services 2026-03-27 23:05:39 -07:00
35c6d1b821 cleanup category handling 2026-03-27 22:46:45 -07:00
7f395bd9b3 add naming option + other stuff 2026-03-25 10:14:07 -07:00
ef0da7582c wait on qbt service before init 2026-03-15 13:45:07 -04:00
7c0a617640 add healthChecks option 2026-03-15 13:25:29 -04:00
ed22d77741 init 2026-03-03 14:26:55 -05:00