From e654c8fd67583a1cfdc9b2f69493776781009d57 Mon Sep 17 00:00:00 2001 From: Lynn Date: Wed, 1 May 2024 16:33:55 +0200 Subject: 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 --- nixos/modules/services/security/vault.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nixos/modules/services') 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 ''; -- cgit 1.4.1