add defaultText for options

This commit is contained in:
Jörg Thalheim 2022-01-09 10:33:54 +01:00
parent 0f0b295ffd
commit e599d060a0

View File

@ -6,11 +6,13 @@ in {
type = lib.types.str; type = lib.types.str;
readOnly = true; readOnly = true;
default = builtins.readFile ./root-ca.crt; default = builtins.readFile ./root-ca.crt;
defaultText = "root-ca.crt";
}; };
intermediateCA = lib.mkOption { intermediateCA = lib.mkOption {
type = lib.types.str; type = lib.types.str;
readOnly = true; readOnly = true;
default = builtins.readFile ./intermediate-ca.crt; default = builtins.readFile ./intermediate-ca.crt;
defaultText = "intermediate-ca.crt";
}; };
acmeURL = lib.mkOption { acmeURL = lib.mkOption {
type = lib.types.str; type = lib.types.str;