add defaultText for options

This commit is contained in:
Jörg Thalheim 2022-01-09 10:33:54 +01:00
parent 0f0b295ffd
commit e599d060a0
1 changed files with 2 additions and 0 deletions

View File

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