2023-01-24 13:33:54 +00:00
|
|
|
{ config, secret, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
services.freshrss = {
|
|
|
|
enable = true;
|
|
|
|
|
|
|
|
inherit (secret.freshrss) defaultUser;
|
2023-02-05 16:52:42 +00:00
|
|
|
passwordFile = config.age.secrets.freshrss-user-password.path;
|
2023-01-24 13:33:54 +00:00
|
|
|
|
|
|
|
inherit (secret.freshrss) baseUrl;
|
|
|
|
inherit (secret.freshrss) virtualHost;
|
|
|
|
|
|
|
|
database = {
|
|
|
|
type = "pgsql";
|
|
|
|
host = "10.99.99.3";
|
|
|
|
port = 5432;
|
2023-02-05 17:06:51 +00:00
|
|
|
user = "freshrss";
|
|
|
|
passFile = config.age.secrets.freshrss-database-password.path;
|
2023-01-24 13:33:54 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|