k 3 retiolum-bootstrap: use secrets path as default, not /root/secrets

This commit is contained in:
makefu 2016-07-18 15:13:22 +02:00
parent 1c931a1f45
commit 01ee8749ac
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225

View File

@ -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>