From 5d67e077194dcad176e73eba59bc679f7120e036 Mon Sep 17 00:00:00 2001 From: Thary Date: Fri, 12 Sep 2025 14:42:50 +0300 Subject: [PATCH] fix --- module.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/module.nix b/module.nix index ec6776b..1727bd4 100644 --- a/module.nix +++ b/module.nix @@ -97,13 +97,13 @@ in createLocally = false; user = "noreply.mastodon@${sp.domain}"; fromAddress = "noreply.mastodon@${sp.domain}"; - passwordFile = "/var/lib/mastodon/secrets/smtp-password"; + passwordFile = ""; authenticate = true; }; }; mailserver.loginAccounts."noreply.mastodon@${sp.domain}" = { - hashedPassword = ""; + hashedPassword = "/run/keys/mastodon/email_password"; sendOnly = true; }; @@ -144,10 +144,10 @@ in ''; }; environment = { - OIDC_ENABLED = true; + OIDC_ENABLED = "true"; OIDC_DISPLAY_NAME= "Kanidm"; OIDC_ISSUER = issuer; - OIDC_DISCOVERY = toString "true"; + OIDC_DISCOVERY = "true"; OIDC_SCOPE = "openid,profile"; OIDC_UID_FIELD = "sub"; OIDC_CLIENT_ID = oauthClientID;