Skip to content

Commit

Permalink
fix: Set SSH_AUTH_SOCK iff not defined
Browse files Browse the repository at this point in the history
  • Loading branch information
aiotter committed Jan 1, 2024
1 parent 6d5ef15 commit 5fc5fcf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/pivy-agent/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ in
};
};

programs.ssh.extraOptionOverrides.IdentityAgent = cfg.socket;
# programs.ssh.extraOptionOverrides.IdentityAgent = cfg.socket;

programs.bash.sessionVariables.SSH_AUTH_SOCK = cfg.socket;
programs.bash.profileExtra = "export SSH_AUTH_SOCK=\${SSH_AUTH_SOCK:-${cfg.socket}}";
};
}

0 comments on commit 5fc5fcf

Please sign in to comment.