From 43ca89689dbc2eda638eb3aff11af53244a2851f Mon Sep 17 00:00:00 2001 From: RGBCube Date: Mon, 5 Feb 2024 09:52:27 +0300 Subject: [PATCH] Fix git pulling on vpses --- modules/git.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/git.nix b/modules/git.nix index a926f04..138096a 100644 --- a/modules/git.nix +++ b/modules/git.nix @@ -64,10 +64,10 @@ homeConfiguration { extraConfig = { init.defaultBranch = "master"; push.autoSetupRemote = true; - } // lib.optionalAttrs ulib.isDesktop { + core.sshCommand = "ssh -i ~/.ssh/id"; url."ssh://git@github.com/".insteadOf = "https://github.com/"; - + } // lib.optionalAttrs ulib.isDesktop { commit.gpgSign = true; gpg.format = "ssh"; user.signingKey = "~/.ssh/id";