use SSH for things that specify HTTP github URLs

This commit is contained in:
sloane 2025-08-11 14:02:21 -04:00
parent 5bd3d3fdd1
commit 33f509e218
Signed by: sloanelybutsurely
SSH key fingerprint: SHA256:8SBnwhl+RY3oEyQxy1a9wByPzxWM0x+/Ejc+sIlY5qQ

View file

@ -226,4 +226,15 @@
};
programs.bat.enable = true;
programs.git = {
enable = true;
extraConfig = {
url = {
"ssh://git@github.com" = {
insteadOf = "https://github.com";
};
};
};
};
}