summaryrefslogtreecommitdiff
path: root/home/git/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'home/git/default.nix')
-rw-r--r--home/git/default.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/home/git/default.nix b/home/git/default.nix
index 8e5575f..3085556 100644
--- a/home/git/default.nix
+++ b/home/git/default.nix
@@ -19,7 +19,10 @@ in {
init.defaultBranch = "master";
credential = {
- "https://github.com/".username = "linnnus";
+ "https://github.com/" = {
+ username = "linnnus";
+ helper = "${pkgs.gh}/bin/gh auth git-credential";
+ };
helper = (optional isDarwin "osxkeychain") ++ ["cache"];
};
};