From 8b5a67bdc1f59b89b1875686c6d8f7e2fa50877c Mon Sep 17 00:00:00 2001 From: Thary Date: Fri, 12 Sep 2025 20:58:32 +0300 Subject: [PATCH] test --- module.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module.nix b/module.nix index f9983d8..9fa77c9 100644 --- a/module.nix +++ b/module.nix @@ -101,7 +101,7 @@ in rm -f /run/postfix/mastodon.cf || true mkdir /run/postfix/ || true # Create /run/postfix if it doesn't exist - export hashedPassword=$(mkpasswd -sm bcrypt "$password") + export hashedPassword=$(${lib.getExe pkgs.mkpasswd} -sm bcrypt "$password") echo "noreply.mastodon@${sp.domain}: $hashedPassword" > /run/postfix/mastodon.cf chmod 440 /run/postfix/mastodon.cf chown ${config.services.postfix.user}:${config.services.postfix.group} /run/postfix/mastodon.cf @@ -124,7 +124,7 @@ in OIDC_DISPLAY_NAME= "Kanidm"; OIDC_ISSUER = issuer; OIDC_DISCOVERY = "true"; - OIDC_SCOPE = "openid,profile"; + OIDC_SCOPE = "openid,profile,email"; OIDC_UID_FIELD = "preferred_username"; OIDC_CLIENT_ID = oauthClientID; OIDC_REDIRECT_URI = oauthRedirectURL;