niksos/hosts/chmura/freshrss.nix
2023-10-03 19:22:24 +02:00

22 lines
524 B
Nix

_: {
services.freshrss = {
enable = true;
baseUrl = "http://f.jacekpoz.pl";
database = {
port = 7425;
tableprefix = "freshrss";
type = "pgsql";
};
defaultUser = "jacek";
language = "pl";
#passwordFile = "/run/secrets/freshrss";
virtualHost = null;
};
services.caddy = {
enable = true;
virtualHosts."f.jacekpoz.pl".extraConfig = ''
reverse_proxy * localhost:4834
'';
};
}