summaryrefslogtreecommitdiff
path: root/users/kassouni/ssh.nix
blob: f496406350c7b2f61a5f5d152f4106c8666eef29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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}
    '';
  };
}