You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately, the oauth2 settings do not appear in the generated config file. In fact, nothing from programs.himalaya.settings.accounts is included in the final file. The issue appears to stem from line 172 of modules/programs/himalaya.nix, where an attrset merge overwrites the accounts settings. If this was replaced with a call to lib.attrsets.recursiveUpdate, I believe that it should be possible to add additional account data while still pulling in the main information from the general accounts.email.accounts section.
I am happy to submit a PR for this change, but I wanted to confirm that this was a bug and not intended behaviour before I continued.
Are you following the right branch?
Is there an existing issue for this?
Issue description
My work e-mail uses Office365 and requires OAUTH2. With Himalaya, I can configure this with
I have tried adding the corresponding configuration to my home manager config
Unfortunately, the oauth2 settings do not appear in the generated config file. In fact, nothing from
programs.himalaya.settings.accounts
is included in the final file. The issue appears to stem from line 172 of modules/programs/himalaya.nix, where an attrset merge overwrites the accounts settings. If this was replaced with a call to lib.attrsets.recursiveUpdate, I believe that it should be possible to add additional account data while still pulling in the main information from the generalaccounts.email.accounts
section.I am happy to submit a PR for this change, but I wanted to confirm that this was a bug and not intended behaviour before I continued.
Maintainer CC
@soy
System information
The text was updated successfully, but these errors were encountered: