diff --git a/machines/perception/configuration.nix b/machines/perception/configuration.nix index 235003a..e12cbae 100644 --- a/machines/perception/configuration.nix +++ b/machines/perception/configuration.nix @@ -242,12 +242,13 @@ volumes = [ "/var/lib/bazarr:/config" "/mnt/plex:/media" ]; dependsOn = [ "plex" ]; }; - }; - # Setup podgrab - services.podgrab = { - enable = true; - port = 4242; - passwordFile = config.sops.secrets.podgrab.path; + # Configure podgrab - podcasts + "podgrab" = { + image = "akhilrex/podgrab"; + environment = { "CHECK_FREQUENCY" = "5"; }; + volumes = [ "/var/lib/podgrab:/config" "/mnt/podcasts:/assets" ]; + ports = [ "4242:8080" ]; + }; }; # Make the containers depend on their mounts systemd.services = {