yuki: init miniflux

This commit is contained in:
notohh 2023-06-19 05:40:05 -04:00
parent 0444fe424a
commit 358bc67e6e
Signed by: notohh
GPG key ID: BD47506D475EE86D
3 changed files with 23 additions and 0 deletions

View file

@ -7,5 +7,6 @@
./searxng.nix
./homarr.nix
./dashdot.nix
./miniflux.nix
];
}

View file

@ -0,0 +1,16 @@
{
config,
lib,
...
}: {
networking.firewall.allowedTCPPorts = [8200];
sops.secrets.miniflux = {};
services.miniflux = {
enable = true;
config = {
DATABASE_URL = lib.mkForce "host=192.168.1.211 port=5432 user=miniflux password=miniflux dbname=miniflux sslmode=disable";
LISTEN_ADDR = "localhost:8200";
};
adminCredentialsFile = config.sops.secrets.miniflux.path;
};
}

View file

@ -35,6 +35,11 @@ _: {
entrypoints = ["web"];
service = "dashdot";
};
miniflux = {
rule = "Host(`news.home.arpa`)";
entrypoints = ["web"];
service = "miniflux";
};
};
services = {
kanboard.loadBalancer.servers = [{url = "http://localhost:8080";}];
@ -42,6 +47,7 @@ _: {
homarr.loadBalancer.servers = [{url = "http://localhost:7575";}];
dashdot.loadBalancer.servers = [{url = "http://localhost:4000";}];
searxng.loadBalancer.servers = [{url = "http://localhost:8100";}];
miniflux.loadBalancer.servers = [{url = "http://localhost:8200";}];
};
};
};