summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
dad9797)
This makes it easy to extract certificates from VMs.
escapeShellArg key-path
}
fi
escapeShellArg key-path
}
fi
+ '' + lib.optionalString cert-cfg.print ''
+ echo Public certificate for ${escapeShellArg name}: >&2
+ ${pkgs.coreutils}/bin/cat ${escapeShellArg pem-path} >&2
# so just make really long-lived certificates for now.
default = "99999";
};
# so just make really long-lived certificates for now.
default = "99999";
};
+ print = lib.mkOption {
+ type = lib.types.bool;
+ description = "If set, print the certificate (public key) during activation.";
+ default = false;
+ };
user = lib.mkOption {
type = lib.types.str;
description = "The username that owns (can read) the secret key.";
user = lib.mkOption {
type = lib.types.str;
description = "The username that owns (can read) the secret key.";