File tree Expand file tree Collapse file tree 3 files changed +22
-2
lines changed
Expand file tree Collapse file tree 3 files changed +22
-2
lines changed Original file line number Diff line number Diff line change 4545 home . file . ".gnupg/gpg-agent.conf" . source = ./gpg-agent.conf ;
4646
4747 # This has to be set here, even though gpg-agent in nix-darwin should be able to set it
48- home . sessionVariables . SSH_AUTH_SOCK =
49- "$(${ lib . getExe' pkgs . gnupg "gpgconf" } --list-dirs agent-ssh-socket)" ;
48+ # home.sessionVariables.SSH_AUTH_SOCK =
49+ # "$(${lib.getExe' pkgs.gnupg "gpgconf"} --list-dirs agent-ssh-socket)";
5050
5151 programs . fish . functions = let
5252 gpg = lib . getExe' config . programs . gpg . package "gpg" ;
Original file line number Diff line number Diff line change 1+ {
2+ # programs.ssh = {
3+ # enable = true;
4+ # extraConfig = ''
5+ # IdentityAgent "~/Library/Group Containers/2BUA8C4S2C.com.1password/t/agent.sock"
6+ # '';
7+ # };
8+
9+ xdg . configFile . "../.ssh/config" . text = ''
10+ Host *
11+ IdentityAgent "~/Library/Group Containers/2BUA8C4S2C.com.1password/t/agent.sock"
12+ '' ;
13+
14+ xdg . configFile . "1Password/ssh/agent.toml" . text = ''
15+ [[ssh-keys]]
16+ item = "Personal"
17+ vault = "Private"
18+ '' ;
19+ }
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ with profiles;
1616 paths . default
1717 navi . default
1818 rippkgs . default
19+ ssh . default
1920 starship . default
2021 tmux . default
2122 tools . common
You can’t perform that action at this time.
0 commit comments