This repository has been archived on 2024-05-02. You can view files and clone it, but cannot push or open issues or pull requests.
home-manager-flake/modules/shell/ssh/default.nix

17 lines
314 B
Nix

{ pkgs, config, lib, ... }: lib.mkIf config.programs.ssh.enable {
home.packages = with pkgs; [ tea ];
programs = {
ssh = {
# addKeysToAgent = "yes";
forwardAgent = true;
extraConfig = ''
AddKeysToAgent yes
'';
};
};
services = {
ssh-agent.enable = true;
};
}