19 lines
407 B
Nix
19 lines
407 B
Nix
{ config, pkgs, ... }:
|
|
|
|
let port = 8002;
|
|
in {
|
|
services.miniflux = {
|
|
enable = true;
|
|
adminCredentialsFile = "/etc/nixos/secrets/miniflux";
|
|
config = { LISTEN_ADDR = "localhost:${toString port}"; };
|
|
};
|
|
|
|
services.nginx = {
|
|
virtualHosts."news.felschr.com" = {
|
|
enableACME = true;
|
|
forceSSL = true;
|
|
locations."/".proxyPass = "http://localhost:${toString port}";
|
|
};
|
|
};
|
|
}
|