This commit is contained in:
Grigory Shipunov 2023-05-15 16:50:29 +02:00
parent 2809a7e118
commit 1ea959ffb6
Signed by: 0xa
GPG key ID: 91FA5E5BF9AA901C
9 changed files with 250 additions and 0 deletions
microvms/news

View file

@ -0,0 +1,18 @@
{ config, ... }:
let
listenport = 8080;
in
{
sops.secrets."miniflux-admin" = { };
networking.firewall.interfaces.oxaproxy.allowedTCPPorts = [ listenport ];
services.miniflux = {
enable = true;
config = {
LISTEN_ADDR = "10.34.45.102:${toString listenport}";
POLLING_FREQUENCY = "37";
CREATE_ADMIN = "1";
};
adminCredentialsFile = config.sops.secrets."miniflux-admin".path;
};
}