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