snowflake/hosts/yuki/services/miniflux.nix
2024-01-25 22:59:26 -05:00

19 lines
423 B
Nix

{
config,
lib,
...
}: {
networking.firewall.allowedTCPPorts = [9000];
sops.secrets.miniflux = {};
services.miniflux = {
enable = true;
adminCredentialsFile = config.sops.secrets.miniflux.path;
config = {
LISTEN_ADDR = "0.0.0.0";
PORT = 9000;
DATABASE_URL = lib.mkForce "host=192.168.1.211 port=5432 user=miniflux password=miniflux dbname=miniflux sslmode=disable";
};
};
}