summaryrefslogtreecommitdiff
path: root/home/git
diff options
context:
space:
mode:
authorLinnnus <[email protected]>2023-11-16 17:23:07 +0100
committerLinnnus <[email protected]>2023-11-16 17:23:07 +0100
commit6e37907d7fe3a5c64d601499a233f9365ecb5449 (patch)
treea5d31898104f9acd5eb1e5de23eb3484d0a7fe39 /home/git
parentc24feb5b892742559c13e7d51971de0c2c57695a (diff)
home/git+hosts: Remove jq, add gh
Diffstat (limited to 'home/git')
-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"];
};
};