From 5723054b6f3f039ae59cab7e894d69e8a875ae31 Mon Sep 17 00:00:00 2001 From: "Simen A. W. Olsen" Date: Sat, 21 Mar 2026 19:32:34 +0100 Subject: fix(git): make SSH URL rewrite Darwin-specific --- modules/home/git.nix | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules') diff --git a/modules/home/git.nix b/modules/home/git.nix index 3865e25..d9710e6 100644 --- a/modules/home/git.nix +++ b/modules/home/git.nix @@ -48,7 +48,9 @@ else "/opt/1Password/op-ssh-sign"; github.user = "simenandre"; pull.rebase = true; + } // (if pkgs.stdenv.isDarwin then { "url \"ssh://git@github.com/\"".insteadOf = "https://github.com/"; + } else {}) // { commit.gpgsign = true; }; }; -- cgit v1.2.3