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

11 lines
213 B
Nix

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