nix/sys/platforms/vps/srv/miniflux.nix
2025-09-18 20:50:03 -06:00

33 lines
696 B
Nix

{
lib,
pkgs,
...
}:
with lib; {
services = {
nginx = {
virtualHosts."rss.posixlycorrect.com" = {
enableACME = true;
forceSSL = true;
extraConfig = ''
proxy_headers_hash_max_size 512;
proxy_headers_hash_bucket_size 128;
'';
locations."/" = {
proxyPass = "http://127.0.0.1:8087";
};
};
};
miniflux = {
enable = true;
adminCredentialsFile = "/var/trust/miniflux/adminCredentialsFile";
config = {
CLEANUP_FREQUENCY = 48;
LISTEN_ADDR = "127.0.0.1:8087";
BASE_URL = "https://rss.posixlycorrect.com";
CREATE_ADMIN = 1;
};
};
};
}