diff options
Diffstat (limited to 'users/kassouni/ssh.nix')
| -rw-r--r-- | users/kassouni/ssh.nix | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/users/kassouni/ssh.nix b/users/kassouni/ssh.nix new file mode 100644 index 0000000..f496406 --- /dev/null +++ b/users/kassouni/ssh.nix @@ -0,0 +1,13 @@ +{ ... }: let + # onePassPath = "~/Library/Group Containers/2BUA8C4S2C.com.1password/t/agent.sock"; + onePassPath = "~/.1password/agent.sock"; +in { + programs.ssh = { + enable = true; + extraConfig = '' + Host * + IdentityAgent ${onePassPath} + ''; + }; +} + |
