tvl-depot/users/tazjin/nixos/modules/miniflux.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
502 B
Nix
Raw Normal View History

{ 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";
config.BASE_URL = "https://feeds.tazj.in";
};
services.nginx.virtualHosts."feeds" = {
serverName = "feeds.tazj.in";
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://127.0.0.1:6359";
};
};
}