feat: use ssh agent rather than gpg agent

This commit is contained in:
buffet 2024-07-15 21:25:42 +02:00
parent d1d882d87f
commit 418d0410b9
No known key found for this signature in database
3 changed files with 5 additions and 6 deletions

View file

@ -11,7 +11,6 @@
./foot.nix
./fzf.nix
./git.nix
./gpg.nix
./ime.nix
./mako.nix
./nvd.nix

View file

@ -1,5 +0,0 @@
{
home-manager.users.buffet = {
programs.gpg.enable = true;
};
}

View file

@ -2,6 +2,7 @@
home-manager.users.buffet = {
programs.ssh = {
enable = true;
addKeysToAgent = "10m";
extraConfig = ''
Host kitchen
Hostname buffets.kitchen
@ -9,5 +10,9 @@
IdentityFile ~/.ssh/id_buffet_ecdsa
'';
};
services.ssh-agent = {
enable = true;
};
};
}