From 6ad152cd774fa886a1292f8912cb246cefab664b Mon Sep 17 00:00:00 2001 From: cswimr Date: Sat, 11 Jan 2025 18:09:50 -0600 Subject: [PATCH] change some `git` settings --- home-manager/user.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/home-manager/user.nix b/home-manager/user.nix index 7d4a0a3..573eae4 100755 --- a/home-manager/user.nix +++ b/home-manager/user.nix @@ -55,6 +55,10 @@ userName = user; userEmail = "seaswimmerthefsh@gmail.com"; extraConfig = { + credential.helper = "${pkgs.git.override { withLibsecret = true; }}/bin/git-credential-libsecret"; + push = { + autoSetupRemote = true; + }; core = { editor = "code -w"; }; @@ -85,6 +89,12 @@ "github:" ]; }; + "https://git.galaxy.casa/" = { + insteadOf = [ + "galaxy:" + "git@git.galaxy.casa:" + ]; + }; }; hub.protocol = "ssh"; };