Janky "fix" to make 1pass git/ssh work

This commit is contained in:
Frankie B. 2024-02-18 01:09:22 +00:00
commit 241347b926
No known key found for this signature in database
3 changed files with 25 additions and 3 deletions

View file

@ -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
'';
};
}
}