nixos-config/machines/read/miniflux/default.nix

18 lines
535 B
Nix
Raw Normal View History

{ 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";
OAUTH2_OIDC_DISCOVERY_ENDPOINT = "https://id.datarift.nl/realms/datarift";
2024-07-15 23:41:19 +02:00
WEBAUTHN = 1;
};
adminCredentialsFile = config.sops.secrets.miniflux-env.path;
2024-07-15 23:41:19 +02:00
};
}