From 471fe4e21f56962bbf264b7045dec566bf8af810 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Fri, 2 Apr 2021 09:08:24 +0000 Subject: [PATCH] machines: porthos: services: enable podgrab --- machines/porthos/services.nix | 10 ++++++++++ secrets/default.nix | 2 ++ secrets/podgrab/password.txt | Bin 0 -> 55 bytes 3 files changed, 12 insertions(+) create mode 100644 secrets/podgrab/password.txt diff --git a/machines/porthos/services.nix b/machines/porthos/services.nix index fdb895e..72cbc01 100644 --- a/machines/porthos/services.nix +++ b/machines/porthos/services.nix @@ -70,6 +70,16 @@ in }; # The whole *arr software suite pirate.enable = true; + # Podcast automatic downloader + podgrab = { + enable = true; + passwordFile = + let + contents = "PASSWORD=${my.secrets.podgrab.password}"; + in + builtins.toFile "podgrab.env" contents; + port = 9598; + }; # Regular backups postgresql-backup.enable = true; # An IRC client daemon diff --git a/secrets/default.nix b/secrets/default.nix index f4b7d32..0028899 100644 --- a/secrets/default.nix +++ b/secrets/default.nix @@ -38,6 +38,8 @@ else { nextcloud.password = fileContents ./nextcloud/password.txt; + podgrab.password = fileContents ./podgrab/password.txt; + transmission.password = fileContents ./transmission/password.txt; users = { diff --git a/secrets/podgrab/password.txt b/secrets/podgrab/password.txt new file mode 100644 index 0000000000000000000000000000000000000000..81da33c1bea8ab01906ece8ce22b628ad992514b GIT binary patch literal 55 zcmV-70LcFUM@dveQdv+`0AC?{=wH=od2rL9@s1Fv3q~uH#oDbz4uQB33CXrSth5|i NdF_7lg{D3ozLI*m7{~ws literal 0 HcmV?d00001