Skip to content

NixOS integration changes#1

Open
ntninja wants to merge 3 commits into
modoboa:mainfrom
ntninja:main
Open

NixOS integration changes#1
ntninja wants to merge 3 commits into
modoboa:mainfrom
ntninja:main

Conversation

@ntninja

@ntninja ntninja commented Aug 12, 2025

Copy link
Copy Markdown

Each commit is basically self-explanatory:

  • First commit is just about not logging secrets
  • Second commit allows reading from a separate file
    • This is needed on NixOS since the Radicale configuration file is managed by the NixOS derivation, but we don’t have a the secret at that point yet (and also putting it in the derivation makes it world-readable in the Nix store)
  • Third commit allows connecting to Modoboa using the Gunicorn Unix domain socket, improving the Radicale sandbox and making the internal connection more reliable

@ntninja

ntninja commented May 21, 2026

Copy link
Copy Markdown
Author

@tonioo: Any updates?

return login
return super()._login_ext(login, password, context)
with requests_unixsocket.Session() as session:
response = session.post(self._endpoint, data=data, headers=headers, auth=self._endpoint_auth)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will still work with regular http urls?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants