feat(MOMO): add miniflux

This commit is contained in:
Jacob Bachmann 2025-10-12 11:35:44 +02:00
parent c04eb32f81
commit 77b8fc9790
Signed by: bchmnn
GPG key ID: 732A612DAD28067D
5 changed files with 36 additions and 0 deletions

View file

@ -1,6 +1,7 @@
{
imports = [
./acme.nix
./miniflux.nix
./nginx.nix
./postgresql.nix
./syncthing.nix

View file

@ -0,0 +1,18 @@
{ config, ... }: {
age.secrets.environments-miniflux = {
file = ../../../secrets/environments/miniflux.age;
};
services.miniflux = {
enable = true;
config = {
CLEANUP_FREQUENCY = 48;
LISTEN_ADDR = "127.0.0.1:8008";
BASE_URL = "https://miniflux.dryb.org/";
};
createDatabaseLocally = true;
adminCredentialsFile = config.age.secrets.environments-miniflux.path;
};
}

View file

@ -23,6 +23,13 @@
proxyPass = "http://127.0.0.1:8007";
};
};
virtualHosts."miniflux.dryb.org" = {
addSSL = true;
enableACME = true;
locations."/" = {
proxyPass = "http://127.0.0.1:8008";
};
};
};
networking.firewall = {