summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/deployment/rss.euer.krebsco.de.nix
diff options
context:
space:
mode:
Diffstat (limited to 'makefu/2configs/deployment/rss.euer.krebsco.de.nix')
-rw-r--r--makefu/2configs/deployment/rss.euer.krebsco.de.nix8
1 files changed, 7 insertions, 1 deletions
diff --git a/makefu/2configs/deployment/rss.euer.krebsco.de.nix b/makefu/2configs/deployment/rss.euer.krebsco.de.nix
index 4be56f323..a7ada9395 100644
--- a/makefu/2configs/deployment/rss.euer.krebsco.de.nix
+++ b/makefu/2configs/deployment/rss.euer.krebsco.de.nix
@@ -9,7 +9,13 @@ in {
};
systemd.services.tt-rss.serviceConfig.ExecStart = lib.mkForce "${pkgs.php}/bin/php /var/lib/tt-rss/update_daemon2.php";
services.postgresql.package = pkgs.postgresql_9_6;
- state = [ config.services.postgresql.dataDir ];
+ state = [ config.services.postgresqlBackup.location ];
+
+ services.postgresqlBackup = {
+ enable = true;
+ databases = [ config.services.tt-rss.database.name ];
+ };
+
services.nginx.virtualHosts."${fqdn}" = {
enableACME = true;
forceSSL = true;