From c84b08c47cc4f55189cc6f7124076c686425a677 Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Sun, 2 Feb 2025 02:22:21 -0800 Subject: [PATCH] Fix: Correct path for sshKey used for signing commits. --- dotfiles/systems/desktop/terminal-environment.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotfiles/systems/desktop/terminal-environment.nix b/dotfiles/systems/desktop/terminal-environment.nix index c41726a5..a930db08 100644 --- a/dotfiles/systems/desktop/terminal-environment.nix +++ b/dotfiles/systems/desktop/terminal-environment.nix @@ -286,7 +286,7 @@ in { userEmail = "${usr.${sys.username}.email}"; extraConfig = { init.defaultBranch = "main"; - core.sshCommand = "ssh -i /home/${sys.username}/.ssh/${sys.sshKey}"; + core.sshCommand = "ssh -i ${sys.sshKey}"; gpg.format = "openpgp"; commit.gpgsign = true; tag.gpgsign = true;