2024-02-25 10:47:32 +01:00
|
|
|
{ config, depot, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
age.secrets.miniflux.file = depot.users.tazjin.secrets."miniflux.age";
|
|
|
|
|
|
|
|
services.miniflux = {
|
|
|
|
enable = true;
|
|
|
|
adminCredentialsFile = "/run/agenix/miniflux";
|
|
|
|
config.LISTEN_ADDR = "127.0.0.1:6359";
|
2024-02-25 11:19:21 +01:00
|
|
|
config.BASE_URL = "https://feeds.tazj.in";
|
2024-02-25 10:47:32 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
services.nginx.virtualHosts."feeds" = {
|
|
|
|
serverName = "feeds.tazj.in";
|
|
|
|
enableACME = true;
|
|
|
|
forceSSL = true;
|
|
|
|
|
|
|
|
locations."/" = {
|
|
|
|
proxyPass = "http://127.0.0.1:6359";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|