Files
dendritic/modules/programs/onepassword.nix
T
John Lancaster 04bbf00c3d ssh options
2026-03-29 17:38:45 -05:00

11 lines
368 B
Nix

{ self, inputs, ... }: {
flake.modules.homeManager.onepassword = { config, ... }: {
home.file.".config/1Password/ssh/agent.toml".text = ''
# https://developer.1password.com/docs/ssh/agent/config
[[ssh-keys]]
vault = "Private"
'';
programs.ssh.matchBlocks."*".identityAgent = "${config.home.homeDirectory}/.1password/agent.sock";
};
}