13 lines
216 B
Nix
13 lines
216 B
Nix
{ ... }:
|
|
let
|
|
onePassPath = "~/.1password/agent.sock";
|
|
in
|
|
{
|
|
programs.ssh = {
|
|
enable = true;
|
|
enableDefaultConfig = false;
|
|
extraConfig = "IdentityAgent ${onePassPath}";
|
|
matchBlocks."*" = { };
|
|
};
|
|
}
|