2024-01-25 22:59:26 -05:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
...
|
|
|
|
}: {
|
|
|
|
sops.secrets.miniflux = {};
|
|
|
|
|
|
|
|
services.miniflux = {
|
|
|
|
enable = true;
|
|
|
|
adminCredentialsFile = config.sops.secrets.miniflux.path;
|
|
|
|
config = {
|
|
|
|
LISTEN_ADDR = "0.0.0.0";
|
|
|
|
PORT = 9000;
|
2024-01-25 23:41:26 -05:00
|
|
|
BASE_URL = "https://rss.flake.sh";
|
|
|
|
HTTPS = "true";
|
|
|
|
WEBAUTHN = "true";
|
|
|
|
DATABASE_URL = lib.mkForce "host=100.94.214.100 port=5432 user=miniflux password=miniflux dbname=miniflux sslmode=disable";
|
2024-01-25 22:59:26 -05:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|