rice/users/buffet/ssh.nix

19 lines
334 B
Nix
Raw Normal View History

2024-07-15 15:55:20 +00:00
{
home-manager.users.buffet = {
programs.ssh = {
enable = true;
addKeysToAgent = "10m";
2024-07-15 15:55:20 +00:00
extraConfig = ''
Host kitchen
Hostname buffets.kitchen
User forgejo
IdentityFile ~/.ssh/id_buffet_ecdsa
'';
};
services.ssh-agent = {
enable = true;
};
2024-07-15 15:55:20 +00:00
};
}