Issue with configuring FreshRSS - cannot login

I’m trying to set up a FreshRSS service on my server. For this I used the following config:

{ config, pkgs, ... }:
let 
  address = "rss.example.com";
in
{
  services = {
    freshrss = {
      enable = true;
      defaultUser = "admin";
      passwordFile = "/root/secrets/freshrss/password";
      baseUrl = "https://${address}";
      virtualHost = address;
      database.type = "sqlite";
    };
    nginx = {
      enable = true;
      virtualHosts."${address}" = {
        forceSSL = true;
        enableACME = true;
      };
    };
  };
}

The service does start, however the problem is I am unable to login using the password saved in passwordFile. After I try to login I get the following error message:
image

This happens when I try to login with:

  • Username: “admin”
  • Password: the string saved inside “/root/secrets/freshrss/password”

I think, the services are running with freshrss (or nginx) user
And they can’t access /root/secrets/freshrss/password :thinking: