Merge pull request 'feat: use ssh agent rather than gpg agent' (#61) from switch-to-ssh-agent into main

Reviewed-on: #61
This commit is contained in:
buffet 2024-07-15 19:26:40 +00:00
commit 3b7bffa856
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;
};
};
}