d90c2f0d2a
Change-Id: Ieab824873c602a8b56637f69f61736864fcbb558 Reviewed-on: https://cl.tvl.fyi/c/depot/+/11024 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
22 lines
502 B
Nix
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";
|
|
};
|
|
};
|
|
}
|