Skip to content

Conversation

@XYenon
Copy link
Member

@XYenon XYenon commented Dec 23, 2025

Description

On macOS, the system ssh-agent sets SSH_AUTH_SOCK by default, which prevents Home Manager's ssh-agent from being used. This adds a forceOverride option (default true on macOS, false on Linux) that unconditionally sets SSH_AUTH_SOCK to override system settings.

Checklist

  • Change is backwards compatible.

  • Code formatted with nix fmt or
    nix-shell -p treefmt nixfmt deadnix keep-sorted --run treefmt.

  • Code tested through nix run .#tests -- test-all or
    nix-shell --pure tests -A run.all.

  • Test cases updated/added. See example.

  • Commit messages are formatted like

    {component}: {description}
    
    {long description}
    

    See CONTRIBUTING for more information and recent commit messages for examples.

  • If this PR adds a new module

    • Added myself as module maintainer. See example.
    • Generate a news entry. See News
    • Basic tests added. See Tests
  • If this PR adds an exciting new feature or contains a breaking change.

    • Generate a news entry. See News

@XYenon XYenon marked this pull request as ready for review December 23, 2025 11:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant