1
0
Fork 0

Fix miniflux build

This commit is contained in:
Malte 2023-02-20 13:38:32 +01:00
parent a4ce3d7365
commit ff87beb6da
2 changed files with 5 additions and 5 deletions

View file

@ -28,9 +28,9 @@ in {
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 normal --theme dark
${pkgs.mastodon_digest}/bin/mastodon_digest -o /var/www/rss/mastodon/$now-read-all-list -n 24 -t all --theme dark-no-boosts -f list:3811
${pkgs.mastodon_digest}/bin/mastodon_digest -o /var/www/rss/mastodon/$now-tags -n 24 -t all --theme dark -f list:4160
${pkgs.mastodon_digest}/bin/mastodon_digest -o /var/www/rss/mastodon/$now-home-feed-highlights -n 24 -t normal
${pkgs.mastodon_digest}/bin/mastodon_digest -o /var/www/rss/mastodon/$now-read-all-list -n 24 -t all --theme no-boosts -f list:3811
${pkgs.mastodon_digest}/bin/mastodon_digest -o /var/www/rss/mastodon/$now-tags -n 24 -t all -f list:4160
${pkgs.logfeed}/bin/mastodon2rss /var/www/rss/mastodon.xml /var/www/rss/mastodon
'';
serviceConfig = {

View file

@ -19,8 +19,8 @@ final: prev: let
chmod -R +w $out
patch -d $out -p1 < ${./all-posts.patch}
cd $out/templates/themes
cp -r dark dark-no-boosts
cp ${./index.html.jinja} dark-no-boosts/index.html.jinja
cp -r default no-boosts
cp ${./index.html.jinja} no-boosts/index.html.jinja
'';
in {
mastodon_digest = pkgs.writeShellApplication {