summaryrefslogtreecommitdiff
path: root/hosts/atlas/miniflux.nix
blob: a7886e62f9a3cad42580ba8ae63e23f27e254728 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
  config,
  self,
  ...
}: {
  config = {
    age.secrets = {
      miniflux.file = "${self}/secrets/hosts/${config.networking.hostName}/miniflux.age";
    };

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