1
0
Fork 0

Deploy miniflux config

This commit is contained in:
Malte 2023-01-30 02:24:15 +01:00
parent 22b3b0201c
commit 2fe6825d1d
2 changed files with 6 additions and 2 deletions

View file

@ -7,10 +7,14 @@
enable = true;
adminCredentialsFile = pkgs.privatePath "miniflux-admin-credentials";
config = {
DEBUG = "1";
SCHEDULER_SERVICE = "0";
BATCH_SIZE = "1000";
LISTEN_ADDR = "[${config.m-0.hosts.vpn.hera}]:8100";
};
};
systemd.services."refresh-miniflux" = {
script = "${pkgs.curl}/bin/curl -X PUT -H \"X-AUTH-TOKEN: $(cat $CREDENTIALS_DIRECTORY/miniflux_token)\" hera.vpn.m-0.eu:8100/v1/feeds/refresh";
startAt = "20:00:00";
serviceConfig.LoadCredential = ["miniflux_token:${pkgs.privatePath "miniflux-refresh-token"}"];
};
}

@ -1 +1 @@
Subproject commit dca6a272ef016959386d78b1edde8f654d1a03ce
Subproject commit 131025521424f191b12c66e594a9a89ac0a43690