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}";
|
|
|
|
};
|
2021-06-05 13:52:06 +00:00
|
|
|
|
|
|
|
nixpkgs.config.permittedInsecurePackages = [
|
|
|
|
"python2.7-Pillow-6.2.2"
|
|
|
|
];
|
|
|
|
|
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;
|
2021-04-04 08:23:57 +00:00
|
|
|
state = [ config.services.postgresqlBackup.location ];
|
|
|
|
|
|
|
|
services.postgresqlBackup = {
|
|
|
|
enable = true;
|
|
|
|
databases = [ config.services.tt-rss.database.name ];
|
|
|
|
};
|
|
|
|
|
2020-03-13 09:42:39 +00:00
|
|
|
services.nginx.virtualHosts."${fqdn}" = {
|
|
|
|
enableACME = true;
|
|
|
|
forceSSL = true;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|