diff options
author | Linnnus <[email protected]> | 2023-11-16 17:23:07 +0100 |
---|---|---|
committer | Linnnus <[email protected]> | 2023-11-16 17:23:07 +0100 |
commit | 6e37907d7fe3a5c64d601499a233f9365ecb5449 (patch) | |
tree | a5d31898104f9acd5eb1e5de23eb3484d0a7fe39 | |
parent | c24feb5b892742559c13e7d51971de0c2c57695a (diff) |
home/git+hosts: Remove jq, add gh
-rw-r--r-- | home/git/default.nix | 5 | ||||
-rw-r--r-- | hosts/common.nix | 3 |
2 files changed, 5 insertions, 3 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"]; }; }; diff --git a/hosts/common.nix b/hosts/common.nix index 2378352..d9b868c 100644 --- a/hosts/common.nix +++ b/hosts/common.nix @@ -33,8 +33,7 @@ # Very basic system administration tools. environment.systemPackages = with pkgs; [ tree - jc - jq + gh vim comma nix-index |