diff options
-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 |