Files
nix-config/home-manager/configs/ssh.nix
2024-11-09 11:52:23 +05:00

11 lines
171 B
Nix

{ config, pkgs, ... }:
let
onePassPath = "~/.1password/agent.sock";
in {
programs.ssh = {
enable = true;
extraConfig = "IdentityAgent ${onePassPath}";
};
}