From 5a8944d9aa7d74aaa7759fe393c36ec91fd1110b Mon Sep 17 00:00:00 2001 From: RealStickman Date: Mon, 1 May 2023 13:32:34 +0200 Subject: [PATCH] Add git configuration --- nixos-config/home-manager.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/nixos-config/home-manager.nix b/nixos-config/home-manager.nix index 92771591..4861458c 100644 --- a/nixos-config/home-manager.nix +++ b/nixos-config/home-manager.nix @@ -80,6 +80,23 @@ in }; }; + # git configuration + programs.git.extraConfig = { + init = { + defaultBranch = "main"; + }; + user = { + name = "RealStickman"; + email = "mrc@frm01.net"; + }; + gitlab = { + user = "RealStickman"; + }; + github = { + user = "RealStickman"; + }; + }; + services.mako.enable = true; }; }