summaryrefslogtreecommitdiff
path: root/users/kassouni/ssh.nix
diff options
context:
space:
mode:
Diffstat (limited to 'users/kassouni/ssh.nix')
-rw-r--r--users/kassouni/ssh.nix13
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}
+ '';
+ };
+}
+