rice/users/buffet/ssh.nix

18 lines
337 B
Nix

{
home-manager.users.buffet = {
programs.ssh = {
enable = true;
addKeysToAgent = "10m";
extraConfig = ''
Host kitchen
Hostname buffets.kitchen
User forgejo
IdentityFile ~/.ssh/id_buffet_ecdsa-sk
'';
};
services.ssh-agent = {
enable = true;
};
};
}