Files
nix-config/home/shahab/common/optional/ssh.nix
2025-09-27 22:27:55 +05:00

11 lines
213 B
Nix

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