summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2016-07-18 15:13:22 +0200
committermakefu <github@syntax-fehler.de>2016-07-18 15:13:22 +0200
commit01ee8749acb258431eee769e3993fa12bf716e24 (patch)
tree71986bde7b6e505ccc96725c1867f6c95cd63e45
parent1c931a1f45d0c1fa6f0a1f9010f1430eb416e167 (diff)
k 3 retiolum-bootstrap: use secrets path as default, not /root/secrets
-rw-r--r--krebs/3modules/retiolum-bootstrap.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/krebs/3modules/retiolum-bootstrap.nix b/krebs/3modules/retiolum-bootstrap.nix
index 40382d098..9d393c90b 100644
--- a/krebs/3modules/retiolum-bootstrap.nix
+++ b/krebs/3modules/retiolum-bootstrap.nix
@@ -27,12 +27,12 @@ let
ssl_certificate_key = mkOption {
type = types.str;
description = "Certificate key to use for ssl";
- default = "/root/secrets/tinc.krebsco.de.key";
+ default = "${toString <secrets>}/tinc.krebsco.de.key";
};
ssl_certificate = mkOption {
type = types.str;
description = "Certificate file to use for ssl";
- default = "/root/secrets/tinc.krebsco.de.crt" ;
+ default = "${toString <secrets>}/tinc.krebsco.de.crt" ;
};
# in use:
# <secrets/tinc.krebsco.de.crt>