aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/home/git.nix2
1 files changed, 2 insertions, 0 deletions
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;
};
};