summaryrefslogtreecommitdiff
path: root/users/kassouni/ssh.nix
diff options
context:
space:
mode:
authorAlexander Kassouni <alex@kassouni.net>2026-07-14 22:45:47 -0700
committerAlexander Kassouni <alex@kassouni.net>2026-07-14 22:45:47 -0700
commit23ba623e405d0aa8d554274aacd019d7a015aa9d (patch)
treefec751fc63de4ec026d04144c30ce95d8dba80ad /users/kassouni/ssh.nix
X11 is so back
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}
+ '';
+ };
+}
+