summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/deployment
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2020-07-02 08:21:21 +0200
committermakefu <github@syntax-fehler.de>2020-07-02 08:21:21 +0200
commit72e2cd4d4020b048704dd3171666f70b6ab4eca3 (patch)
tree42a54fb47946a5223485cc7aef77258ca2a36bca /makefu/2configs/deployment
parentfcf599d9b248c93c4aa82191f1b79140263f535c (diff)
ma rss.euer.krebsco.de: pin postgresql package
Diffstat (limited to 'makefu/2configs/deployment')
-rw-r--r--makefu/2configs/deployment/rss.euer.krebsco.de.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/makefu/2configs/deployment/rss.euer.krebsco.de.nix b/makefu/2configs/deployment/rss.euer.krebsco.de.nix
index c827c5a53..86efb5662 100644
--- a/makefu/2configs/deployment/rss.euer.krebsco.de.nix
+++ b/makefu/2configs/deployment/rss.euer.krebsco.de.nix
@@ -1,3 +1,4 @@
+{ pkgs, config, ... }:
let
fqdn = "rss.euer.krebsco.de";
in {
@@ -6,6 +7,8 @@ in {
virtualHost = fqdn;
selfUrlPath = "https://${fqdn}";
};
+ services.postgresql.package = pkgs.postgresql_9_6;
+ state = [ config.services.postgresql.dataDir ];
services.nginx.virtualHosts."${fqdn}" = {
enableACME = true;
forceSSL = true;