From 1299d23ec5bd21ddbc4f6b60ddefeb740ce7bfd2 Mon Sep 17 00:00:00 2001 From: Valentin Brandl Date: Thu, 16 Jan 2025 19:46:15 +0100 Subject: [PATCH] Default to SSH for github.com --- home/git.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/home/git.nix b/home/git.nix index 4b11a36..1b37fcf 100644 --- a/home/git.nix +++ b/home/git.nix @@ -25,6 +25,11 @@ user: sendemail = { smtpserver = "${pkgs.msmtp}/bin/msmtp"; }; + url = { + "git@github.com:" = { + insteadOf = "https://github.com/"; + }; + }; }; signing = { key = "1FFE431282F4B8CC0A7579167FB009175885FC76";