From 65324206a6816329a50bbaaad21c5b41c079ec19 Mon Sep 17 00:00:00 2001 From: maralorn Date: Fri, 3 Feb 2023 00:18:19 +0100 Subject: [PATCH] Fix mastodon_digest --- nixos/roles/miniflux.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixos/roles/miniflux.nix b/nixos/roles/miniflux.nix index dbaad772..ae2e1817 100644 --- a/nixos/roles/miniflux.nix +++ b/nixos/roles/miniflux.nix @@ -24,7 +24,9 @@ in { now=$(date "+%Y-%m-%d") mkdir -p /var/www/rss/mastodon/$now-home-feed-highlights mkdir -p /var/www/rss/mastodon/$now-read-all-list + set -o allexport source $CREDENTIALS_DIRECTORY/mastodon-auth-env + set +o allexport ${pkgs.mastodon_digest}/bin/mastodon_digest -o /var/www/rss/mastodon/$now-home-feed-highlights -n 24 -t lax --theme light ${pkgs.mastodon_digest}/bin/mastodon_digest -o /var/www/rss/mastodon/$now-read-all-list -n 24 -t all --theme light -f list:3811 ${pkgs.logfeed}/bin/mastodon2rss /var/www/rss/mastodon.xml /var/www/rss/mastodon