From 8104ba7e932d028a0a3beba6047cc4fecf8bb451 Mon Sep 17 00:00:00 2001 From: Chris Kruining Date: Mon, 3 Nov 2025 16:36:19 +0100 Subject: [PATCH] feat(zitadel): change the default value of the username to the key instead of the email. This should ensure that binding to the apps goes more smoothly --- modules/nixos/services/authentication/zitadel/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/nixos/services/authentication/zitadel/default.nix b/modules/nixos/services/authentication/zitadel/default.nix index 917bde4..7540e2f 100644 --- a/modules/nixos/services/authentication/zitadel/default.nix +++ b/modules/nixos/services/authentication/zitadel/default.nix @@ -165,10 +165,10 @@ in userName = mkOption { type = types.nullOr types.str; - default = cfg.organization.${org}.user.${username}.email; - example = "someone@some.domain"; + default = username; + example = "some_user_name"; description = '' - Username. Default value is the user's email, you can overwrite that by setting this option + Username. Default value is the key of the config object you created, you can overwrite that by setting this option ''; };