Files
nix-config/home/dogar/common/optional/ssh.nix

13 lines
216 B
Nix

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