nix/hosts/marvin/services/miniflux.nix

23 lines
827 B
Nix

{
services.miniflux = {
enable = true;
config = {
PORT = "6903";
FETCH_YOUTUBE_WATCH_TIME = "1";
BASE_URL = "https://rss.thehedgehog.me";
CREATE_ADMIN = "1";
RUN_MIGRATIONS = "1";
INVIDIOUS_INSTANCE = "yewtu.be";
OAUTH2_PROVIDER = "oidc";
OAUTH2_OIDC_DISCOVERY_ENDPOINT = "https://auth.thehedgehog.me/application/o/miniflux/";
OAUTH2_CLIENT_ID = "deb100e77edc7342e64b093b2c5818c48274148a";
# OAUTH2_CLIENT_SECRET_FILE = "/run/agenix/miniflux-oidc-secret";
OAUTH2_USER_CREATION = "0";
OAUTH2_REDIRECT_URL = "https://rss.thehedgehog.me/oauth2/oidc/callback";
};
adminCredentialsFile = "/run/agenix/miniflux-admin";
};
users.users.miniflux.isSystemUser = true;
users.users.miniflux.group = "miniflux";
users.groups.miniflux = {};
}