infra/pastila/miniflux.nix

17 lines
346 B
Nix
Raw Permalink Normal View History

2024-06-28 19:06:18 +00:00
{ config, lib, pkgs, ... }:
{
services.miniflux = {
enable = true;
adminCredentialsFile = "/etc/secrets/miniflux/admin";
};
services.nginx.enable = true;
services.nginx.virtualHosts."rss.isomorphis.me" = {
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://localhost:8080";
};
};
}