mirror of https://github.com/wlcx/home.git
Only use secretive ssh auth if on mac
This commit is contained in:
parent
ab89400f2a
commit
6a64411c0a
|
@ -69,5 +69,7 @@ in {
|
||||||
|
|
||||||
fzf.enable = true;
|
fzf.enable = true;
|
||||||
|
|
||||||
|
ssh.enable = true;
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ ... }: {
|
{ pkgs, lib, ... }: {
|
||||||
home.sessionVariables = {
|
|
||||||
# Use secretive for SSH agent
|
# Use secretive for SSH agent
|
||||||
"SSH_AUTH_SOCK" =
|
programs.ssh.matchBlocks.all = lib.mkIf pkgs.stdenv.isDarwin {
|
||||||
"/Users/$USERNAME/Library/Containers/com.maxgoedjen.Secretive.SecretAgent/Data/socket.ssh";
|
host = "*";
|
||||||
|
extraOptions."IdentityAgent" = "~/Library/Containers/com.maxgoedjen.Secretive.SecretAgent/Data/socket.ssh";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue