2024-07-16 00:03:43 +02:00
|
|
|
{ config, ... }:
|
2024-07-15 23:41:19 +02:00
|
|
|
{
|
|
|
|
services.miniflux = {
|
|
|
|
enable = true;
|
|
|
|
config = {
|
|
|
|
BASE_URL = "https://read.datarift.nl";
|
|
|
|
POLLING_SCHEDULER = "entry_frequency";
|
2024-07-16 16:28:41 +02:00
|
|
|
CLEANUP_ARCHIVE_UNREAD_DAYS = -1;
|
|
|
|
CLEANUP_ARCHIVE_READ_DAYS = -1;
|
2024-07-15 23:41:19 +02:00
|
|
|
OAUTH2_PROVIDER = "oidc";
|
2024-07-16 10:57:09 +02:00
|
|
|
OAUTH2_REDIRECT_URL = "https://read.datarift.nl/oauth2/oidc/callback";
|
2024-07-16 00:37:51 +02:00
|
|
|
OAUTH2_OIDC_DISCOVERY_ENDPOINT = "https://id.datarift.nl/realms/datarift";
|
2024-07-15 23:41:19 +02:00
|
|
|
WEBAUTHN = 1;
|
|
|
|
};
|
2024-07-16 00:03:43 +02:00
|
|
|
adminCredentialsFile = config.sops.secrets.miniflux-env.path;
|
2024-07-15 23:41:19 +02:00
|
|
|
};
|
|
|
|
}
|