summaryrefslogtreecommitdiff
path: root/systems/atlas/miniflux.nix
blob: 73ed2c6396dfca8a72af410c88d6ebf3958fb0a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
  config,
  secretsDir,
  ...
}: {
  age.secrets .miniflux.file = secretsDir + "/miniflux.age";

  services.miniflux = {
    enable = true;
    adminCredentialsFile = config.age.secrets.miniflux.path;
    config = {
      BASE_URL = "https://miniflux.${config.networking.domain}";
      LISTEN_ADDR = "localhost:7000";
    };
  };
}