Skip to content

Commit

Permalink
chore: Git config rewrite HTTPS remotes as SSH
Browse files Browse the repository at this point in the history
  • Loading branch information
nikitawootten committed Aug 30, 2024
1 parent ee7baa9 commit 3401f6f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions homeModules/personal/git.nix
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ in {
commit.gpgsign = lib.mkDefault true;
tag.gpgsign = lib.mkDefault true;
user.signingKey = lib.mkDefault cfg.signingKey;

# Rewrite GitHub HTTPS remotes as SSH remotes
url."ssh://[email protected]/".insteadOf = "https://github.com/";
};
lfs.enable = true;
};
Expand Down

0 comments on commit 3401f6f

Please sign in to comment.