commit 9080b398978a61cfc4ffde7b8ed49a617e6b4abd
parent af36fbb78a6dba9d6bd3b1969e01bb5e5a054a97
Author: Peter <peter@minskio.co.uk>
Date: Sat, 12 Sep 2026 19:20:03 +0100
Now we're actually working with git
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/home/git.nix b/home/git.nix
@@ -1,6 +1,4 @@
-{ vars, ... }:
-
-# Setup tokens here: https://github.com/settings/tokens
+{ vars, pkgs, ... }:
{
programs.git = {
@@ -8,6 +6,8 @@
settings = {
user.name = "${vars.user.fullname}";
user.email = "${vars.user.email}";
+ credential.helper = "!gh auth git-credential";
};
};
+ home.packages = with pkgs; [ gh ];
}