summaryrefslogtreecommitdiff
path: root/config/services/web/rss/default.nix
diff options
context:
space:
mode:
authorQuentin Aristote <quentin@aristote.fr>2022-11-27 16:28:24 +0100
committerQuentin Aristote <quentin@aristote.fr>2022-11-27 16:28:24 +0100
commitefa28a3baa12cac85f4cfc8665f1cf8762b9d7ee (patch)
tree58859c63c8f8006039cedae681752a94a4e46f64 /config/services/web/rss/default.nix
parent0c0affb59873dd265719a7293dfde6f76495c612 (diff)
services: web: rss: add fip bridge
Diffstat (limited to 'config/services/web/rss/default.nix')
-rw-r--r--config/services/web/rss/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/config/services/web/rss/default.nix b/config/services/web/rss/default.nix
index 2c5d515..18a6763 100644
--- a/config/services/web/rss/default.nix
+++ b/config/services/web/rss/default.nix
@@ -2,13 +2,14 @@
let
cfg = config.services.rss-bridge;
- debug = false;
+ debug = true;
rss-bridge = pkgs.rss-bridge.overrideAttrs (oldAttrs:
oldAttrs // {
installPhase = oldAttrs.installPhase + ''
pushd $out/bridges
ln -sf ${./ParisJazzClubBridge.php} ParisJazzClubBridge.php
ln -sf ${./MaisonDeLaRadioBridge.php} MaisonDeLaRadioBridge.php
+ ln -sf ${./FipAlbumsBridge.php} FipAlbumsBridge.php
ln -sf ${./WhatsOnMubiBridge.php} WhatsOnMubiBridge.php
popd
'' + lib.optionalString debug ''
@@ -18,7 +19,7 @@ let
in {
services.rss-bridge = {
enable = true;
- whitelist = [ "ParisJazzClub" "MaisonDeLaRadio" "WhatsOnMubi" ];
+ whitelist = [ "ParisJazzClub" "MaisonDeLaRadio" "FipAlbumsBridge" "WhatsOnMubi" ];
virtualHost = "rss";
};