From b1032f2c341f9bab38c349078c0c2b53f725bae5 Mon Sep 17 00:00:00 2001 From: RealStickman Date: Mon, 1 May 2023 13:36:03 +0200 Subject: [PATCH] Enable git for home-manager --- home-manager.nix | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/home-manager.nix b/home-manager.nix index 4861458..435dd8b 100644 --- a/home-manager.nix +++ b/home-manager.nix @@ -81,19 +81,22 @@ in }; # git configuration - programs.git.extraConfig = { - init = { - defaultBranch = "main"; - }; - user = { - name = "RealStickman"; - email = "mrc@frm01.net"; - }; - gitlab = { - user = "RealStickman"; - }; - github = { - user = "RealStickman"; + programs.git = { + enable = true; + extraConfig = { + init = { + defaultBranch = "main"; + }; + user = { + name = "RealStickman"; + email = "mrc@frm01.net"; + }; + gitlab = { + user = "RealStickman"; + }; + github = { + user = "RealStickman"; + }; }; };