rice/users/buffet/ssh.nix

19 lines
337 B
Nix
Raw Permalink 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
2024-07-30 19:16:44 +00:00
IdentityFile ~/.ssh/id_buffet_ecdsa-sk
2024-07-15 15:55:20 +00:00
'';
};
services.ssh-agent = {
enable = true;
};
2024-07-15 15:55:20 +00:00
};
}