feat: added bitbucket ssh key

main
Ricard Illa 2023-08-24 09:59:11 +02:00
parent 96cc9788d7
commit fc221684e2
Signed by: rilla
GPG Key ID: 525307BD467E4205
2 changed files with 5 additions and 3 deletions

View File

@ -0,0 +1 @@
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFhkuJP+wvKrWvzSn+14EMxPflb/L/yKiAPUEKu3hNFx rilla@penguin

View File

@ -10,10 +10,11 @@ let
}; };
in in
{ {
home.file.".ssh/id_rsa.pub".source = ./id_rsa_gpg.pub;
home.file.".ssh/id_rsa_-cert.pub".source = ./id_rsa_gpg-cert.pub;
home.file.".ssh/id_rsa_gpg.pub".source = ./id_rsa_gpg.pub; home.file.".ssh/id_rsa_gpg.pub".source = ./id_rsa_gpg.pub;
home.file.".ssh/id_rsa_gpg-cert.pub".source = ./id_rsa_gpg-cert.pub; home.file.".ssh/id_rsa_gpg-cert.pub".source = ./id_rsa_gpg-cert.pub;
home.file.".ssh/bitbucket_ed25519.pub".source = ./bitbucket_ed25519.pub;
programs.ssh = { programs.ssh = {
enable = true; enable = true;
matchBlocks = { matchBlocks = {
@ -39,7 +40,7 @@ in
"bitbucket.org" = defaultBlock // { "bitbucket.org" = defaultBlock // {
user = "git"; user = "git";
identityFile = "~/.ssh/bitbucket_rsa"; identityFile = "~/.ssh/bitbucket_ed25519";
}; };
}; };