2020-10-23 19:31:49 +00:00
|
|
|
{ pkgs, lib, config, ... }:
|
2020-03-13 09:42:39 +00:00
|
|
|
let
|
|
|
|
fqdn = "rss.euer.krebsco.de";
|
|
|
|
in {
|
|
|
|
services.tt-rss = {
|
|
|
|
enable = true;
|
|
|
|
virtualHost = fqdn;
|
|
|
|
selfUrlPath = "https://${fqdn}";
|
|
|
|
};
|
2020-10-23 19:31:49 +00:00
|
|
|
systemd.services.tt-rss.serviceConfig.ExecStart = lib.mkForce "${pkgs.php}/bin/php /var/lib/tt-rss/update_daemon2.php";
|
2020-07-02 06:21:21 +00:00
|
|
|
services.postgresql.package = pkgs.postgresql_9_6;
|
|
|
|
state = [ config.services.postgresql.dataDir ];
|
2020-03-13 09:42:39 +00:00
|
|
|
services.nginx.virtualHosts."${fqdn}" = {
|
|
|
|
enableACME = true;
|
|
|
|
forceSSL = true;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|