New service: miniflux

pull/11/head
Tudor Roman 2023-09-11 10:57:44 +02:00
parent 6d7a539907
commit ce1f42c4e5
Signed by: tudor
SSH Key Fingerprint: SHA256:3CwS9plgXBecpXImPGxDIaSktUXBejbV/zerZMqzzBk
4 changed files with 13 additions and 3 deletions

View File

@ -11,6 +11,7 @@
gitea.enable = true;
site.enable = true;
vaultwarden.enable = true;
miniflux.enable = true;
};
ipforward.enable = true;
tailscale.enable = true;
@ -41,8 +42,13 @@
'';
};
age.secrets.tudor-password = {
file = ../../secrets/ceres/tudor-password.age;
age.secrets = {
tudor-password = {
file = ../../secrets/ceres/tudor-password.age;
};
miniflux-credentials = {
file = ../../secrets/ceres/miniflux-credentials.age;
};
};
users.users.${vars.username} = {

View File

@ -6,5 +6,6 @@
./nginx.nix
./site.nix
./vaultwarden.nix
./miniflux.nix
];
}

View File

@ -10,13 +10,15 @@ with lib; {
enable = true;
adminCredentialsFile = config.age.secrets.miniflux-credentials.path;
config.LISTEN_ADDR = "localhost:8638";
config.BASE_URL = "https://rss.tudorr.ro/";
config.FETCH_YOUTUBE_WATCH_TIME = "1";
};
services.nginx.virtualHosts."rss.tudorr.ro" = {
forceSSL = true;
enableACME = true;
locations."/" = {
proxyPass = config.services.miniflux.config.LISTEN_ADDR;
proxyPass = "http://${config.services.miniflux.config.LISTEN_ADDR}/";
};
};
};

View File

@ -5,4 +5,5 @@ let
in
{
"tudor-password.age".publicKeys = keys;
"miniflux-credentials.age".publicKeys = keys;
}