tvl-depot/users/tazjin/nixos/modules/miniflux.nix
Vincent Ambo d90c2f0d2a fix(tazjin/nixos): fix feed reader base URL
Change-Id: Ieab824873c602a8b56637f69f61736864fcbb558
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11024
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
2024-02-25 19:53:07 +00:00

22 lines
502 B
Nix

{ 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";
};
};
}