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

20 lines
626 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;
2024-08-14 12:25:28 +02:00
METRICS_COLLECTOR = 1;
METRICS_ALLOWED_NETWORKS = "100.64.0.0/10,127.0.0.0/8";
2024-07-15 23:41:19 +02:00
};
adminCredentialsFile = config.sops.secrets.miniflux-env.path;
2024-07-15 23:41:19 +02:00
};
}