20 lines
437 B
Nix
Raw Normal View History

2020-08-05 22:51:19 +04:00
{ pkgs, lib, config, ... }: {
2020-08-15 19:36:16 +04:00
home-manager.users.alukard = {
# programs.ssh = {
# enable = true;
# forwardAgent = true;
# extraOptions = {
# # Host = "localhost";
# AddKeysToAgent = "ask";
# }
# };
home.file.".ssh/config".text = ''
Host localhost
ForwardAgent yes
AddKeysToAgent ask
Match host * exec "gpg-connect-agent UPDATESTARTUPTTY /bye"
'';
};
}