diff --git a/modules/home-manager/ssh/bitbucket_ed25519.pub b/modules/home-manager/ssh/bitbucket_ed25519.pub new file mode 100644 index 0000000..7fdfd64 --- /dev/null +++ b/modules/home-manager/ssh/bitbucket_ed25519.pub @@ -0,0 +1 @@ +ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFhkuJP+wvKrWvzSn+14EMxPflb/L/yKiAPUEKu3hNFx rilla@penguin diff --git a/modules/home-manager/ssh/default.nix b/modules/home-manager/ssh/default.nix index 6fcd5d8..54bd268 100644 --- a/modules/home-manager/ssh/default.nix +++ b/modules/home-manager/ssh/default.nix @@ -10,10 +10,11 @@ let }; 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-cert.pub".source = ./id_rsa_gpg-cert.pub; + + home.file.".ssh/bitbucket_ed25519.pub".source = ./bitbucket_ed25519.pub; + programs.ssh = { enable = true; matchBlocks = { @@ -39,7 +40,7 @@ in "bitbucket.org" = defaultBlock // { user = "git"; - identityFile = "~/.ssh/bitbucket_rsa"; + identityFile = "~/.ssh/bitbucket_ed25519"; }; };