From 77b77d5bd4e6cfa92cb181508955440830d6b721 Mon Sep 17 00:00:00 2001 From: Nathan McCarty Date: Wed, 21 Jun 2023 04:03:55 -0400 Subject: [PATCH] Switch podgrab to podman --- machines/perception/configuration.nix | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) 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 = {