From 404a21c9b169f030ca2298b8184a1ae045f6c5d2 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Tue, 4 Jul 2023 21:52:34 +0300 Subject: [PATCH] fix git probably --- config/git/config | 5 +++++ configuration.nix | 12 +++++++----- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/config/git/config b/config/git/config index ec1c6a78..d4e5e080 100644 --- a/config/git/config +++ b/config/git/config @@ -1,6 +1,11 @@ +[user] + email = "78461130+Sakooooo@users.noreply.github.com" + name = "Sakooooo" + [credential "https://github.com"] helper = helper = !gh auth git-credential + [credential "https://gist.github.com"] helper = helper = !gh auth git-credential diff --git a/configuration.nix b/configuration.nix index 6135f132..733378a6 100644 --- a/configuration.nix +++ b/configuration.nix @@ -198,14 +198,16 @@ programs.git = { enable = true; package = pkgs.gitFull; - userName = "Sakooooo"; - userEmail = "78461130+Sakooooo@users.noreply.github.com"; }; xdg.configFile = { - nvim = { + git = { + source = config/git; + }; + + nvim = { source = config/nvim; - recursive = true; - }; + recursive = true; + }; bspwm = { source = config/bspwm; };