nixos/vault: change type and default of devRootTokenID

Previously you needed to set an devRootTokenID when dev=true despite the option being optional
Caused by wrong default value and not allowing null as value
This commit is contained in:
Lynn 2024-05-01 16:33:55 +02:00
parent 9f84a63460
commit e654c8fd67

View File

@ -56,8 +56,8 @@ in
};
devRootTokenID = mkOption {
type = types.str;
default = false;
type = types.nullOr types.str;
default = null;
description = ''
Initial root token. This only applies when {option}`services.vault.dev` is true
'';