summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/nginx/euer.blog.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2015-10-29 10:55:54 +0100
committermakefu <github@syntax-fehler.de>2015-10-29 10:55:54 +0100
commit6410fd0f8557658fa5e180844def32f8bda7313d (patch)
tree8266ef1e81f57ee4565987dd1c285cd9b8510342 /makefu/2configs/nginx/euer.blog.nix
parent8bc538b9e7bdf6fa9d93d1662ee1b889e0a5d458 (diff)
m 2 *: s,/root/secrets,<secrets>,
Diffstat (limited to 'makefu/2configs/nginx/euer.blog.nix')
-rw-r--r--makefu/2configs/nginx/euer.blog.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/makefu/2configs/nginx/euer.blog.nix b/makefu/2configs/nginx/euer.blog.nix
index a8be1993b..e97050ec4 100644
--- a/makefu/2configs/nginx/euer.blog.nix
+++ b/makefu/2configs/nginx/euer.blog.nix
@@ -2,8 +2,9 @@
with lib;
let
- ssl_cert = "/root/secrets/wildcard.krebsco.de.crt";
- ssl_key = "/root/secrets/wildcard.krebsco.de.key";
+ sec = toString <secrets>;
+ ssl_cert = "${sec}/wildcard.krebsco.de.crt";
+ ssl_key = "${sec}/wildcard.krebsco.de.key";
hostname = krebs.build.host.name;
in {
krebs.nginx = {