From 3136df9d3c253619cc39b1179618cb5b3da4127a Mon Sep 17 00:00:00 2001 From: Jurn Wubben Date: Mon, 23 Jun 2025 20:39:47 +0200 Subject: [PATCH] Added git credential helper; removed gh --- home/shell/default.nix | 3 ++- home/shell/git.nix | 11 +++++++++++ home/shell/other.nix | 1 - 3 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 home/shell/git.nix diff --git a/home/shell/default.nix b/home/shell/default.nix index e301aab..4c4c4f6 100644 --- a/home/shell/default.nix +++ b/home/shell/default.nix @@ -2,11 +2,12 @@ imports = [ ./direnv.nix ./fish.nix + ./git.nix ./other.nix ./repl ./starship.nix + ./transfer.nix ./yazi.nix ./zoxide.nix - ./transfer.nix ]; } diff --git a/home/shell/git.nix b/home/shell/git.nix new file mode 100644 index 0000000..ac2f019 --- /dev/null +++ b/home/shell/git.nix @@ -0,0 +1,11 @@ +{ + programs = { + git = { + enable = true; + userEmail = "jurnwubben@gmail.com"; + userName = "Jurn Wubben"; + extraConfig.push.autoSetupRemote = true; + }; + git-credential-oauth = true; + }; +} diff --git a/home/shell/other.nix b/home/shell/other.nix index 0ad18cf..f90f855 100644 --- a/home/shell/other.nix +++ b/home/shell/other.nix @@ -7,7 +7,6 @@ }: { home.packages = [ - pkgs.gh pkgs.ripgrep pkgs.p7zip pkgs.usbutils