From 0200586ff8fff517fc214aa1d31593c9099ccb08 Mon Sep 17 00:00:00 2001 From: Maddie H Date: Mon, 7 Oct 2024 15:09:26 +0100 Subject: [PATCH] fix: use nix store locations for ssh and gpg commands with git --- homes/common/git.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homes/common/git.nix b/homes/common/git.nix index c583603..6e17c43 100644 --- a/homes/common/git.nix +++ b/homes/common/git.nix @@ -10,7 +10,7 @@ signing = { key = "FA50688B9EB6D8AA070C8241C296DE8C9053683F"; signByDefault = true; - gpgPath = "/run/current-system/sw/bin/gpg"; + gpgPath = "${pkgs.gnupg}/bin/gpg"; }; aliases = { @@ -26,7 +26,7 @@ extraConfig = { init.defaultBranch = "development"; pull.rebase = "merges"; - core.sshCommand = "/run/current-system/sw/bin/ssh"; + core.sshCommand = "${pkgs.openssh}/bin/ssh"; }; ignores = [