diff options
author | Lynn <code@lynn.is> | 2024-05-01 16:33:55 +0200 |
---|---|---|
committer | Lynn <code@lynn.is> | 2024-05-01 16:33:55 +0200 |
commit | e654c8fd67583a1cfdc9b2f69493776781009d57 (patch) | |
tree | de32201f1044ffb9bf142cd3e424f73dbe9bf859 | |
parent | 9f84a634600901698925b7deae0955ec745cf41b (diff) |
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
-rw-r--r-- | nixos/modules/services/security/vault.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/security/vault.nix b/nixos/modules/services/security/vault.nix index ab86da47b2e1c..650f9bda99c33 100644 --- a/nixos/modules/services/security/vault.nix +++ b/nixos/modules/services/security/vault.nix @@ -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 ''; |