1
0
Fork 0
dotfiles/system/nixos/freshrss.nix

21 lines
463 B
Nix

{ config, secret, ... }:
{
services.freshrss = {
enable = true;
inherit (secret.freshrss) defaultUser;
passwordFile = config.age.secrets.freshrss-user-password.path;
inherit (secret.freshrss) baseUrl;
inherit (secret.freshrss) virtualHost;
database = {
type = "pgsql";
host = "10.99.99.3";
port = 5432;
inherit (secret.freshrss.database) user;
inherit (secret.freshrss.database) passFile;
};
};
}