Janky "fix" to make 1pass git/ssh work
This commit is contained in:
parent
782f76ba11
commit
241347b926
3 changed files with 25 additions and 3 deletions
|
|
@ -12,6 +12,10 @@ in {
|
|||
programs.ssh = {
|
||||
enable = true;
|
||||
forwardAgent = _1passwordAgent.enable;
|
||||
extraConfig = lib.optionalString _1passwordAgent.enable "IdentityAgent ${_1passwordAgent.path}";
|
||||
extraConfig = ''
|
||||
Host *
|
||||
IdentityAgent ~/.1password/agent.sock
|
||||
'';
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Reference in a new issue