2021-06-16 05:30:04 +03:00

20 lines
437 B
Nix

{ pkgs, lib, config, ... }: {
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"
'';
};
}