make miniflux module (broken)

This commit is contained in:
jacekpoz 2024-10-03 20:51:08 +02:00
parent a20009be36
commit e60c2e1027
Signed by: poz
SSH key fingerprint: SHA256:JyLeVWE4bF3tDnFeUpUaJsPsNlJyBldDGV/dIKSLyN8
5 changed files with 26 additions and 23 deletions

View file

@ -5,10 +5,10 @@ _: {
#./discord-autodelete.nix
./firefox-syncserver.nix
./forgejo.nix
#./freshrss.nix
#./grafana.nix
./i2pd.nix
#./minecraft.nix
./miniflux.nix
./ntfy-sh.nix
./owncast.nix
./plausible.nix

View file

@ -1,22 +0,0 @@
_: {
services.freshrss = {
enable = true;
baseUrl = "http://f.jacekpoz.pl";
database = {
port = 7425;
tableprefix = "freshrss";
type = "pgsql";
};
defaultUser = "jacek";
language = "pl";
#passwordFile = "/run/secrets/freshrss";
virtualHost = null;
};
services.caddy = {
enable = true;
virtualHosts."f.jacekpoz.pl".extraConfig = ''
reverse_proxy * localhost:4834
'';
};
}

View file

@ -0,0 +1,24 @@
{
config,
...
}: let
port = "4834";
in {
age.secrets.miniflux-admin-credentials.file = ../../../secrets/miniflux-admin-credentials.age;
services.miniflux = {
enable = true;
adminCredentialsFile = config.age.secrets.miniflux-admin-credentials.path;
config = {
PORT = port;
BASE_URL = "https://rss.jacekpoz.pl/";
};
};
services.caddy = {
enable = true;
virtualHosts."rss.jacekpoz.pl".extraConfig = ''
reverse_proxy * localhost:${port}
'';
};
}

Binary file not shown.

View file

@ -20,4 +20,5 @@ in {
"plausible-secret-keybase.age".publicKeys = niks ++ chmura ++ del;
"plausible-admin-password.age".publicKeys = niks ++ chmura ++ del;
"yubikey-u2f-keys.age".publicKeys = niks ++ chmura ++ del;
"miniflux-admin-credentials.age".publicKeys = niks ++ chmura ++ del;
}