diff options
author | Frankie B. <git@diskfloppy.me> | 2024-02-18 01:09:22 +0000 |
---|---|---|
committer | Frankie B. <git@diskfloppy.me> | 2024-02-18 01:09:22 +0000 |
commit | 241347b92602165fe3a781818db6ea58c03b499d (patch) | |
tree | e92c3e7ef8cda74a986adc95e4b375780a226fe0 /homes/floppydisk/ssh.nix | |
parent | 782f76ba113f47d53af95e991eddb28cd4ea9e3e (diff) |
Janky "fix" to make 1pass git/ssh work
Diffstat (limited to 'homes/floppydisk/ssh.nix')
-rw-r--r-- | homes/floppydisk/ssh.nix | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/homes/floppydisk/ssh.nix b/homes/floppydisk/ssh.nix index 99e77c5..e59d218 100644 --- a/homes/floppydisk/ssh.nix +++ b/homes/floppydisk/ssh.nix @@ -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 + ''; }; -}
\ No newline at end of file +} + |